Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 181.7 kB / 16.97 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06097/0.06097, allocations: 12.6 MB / 284 MB, free: 8.57 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006484, allocations: 20.52 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07033/0.07098, allocations: 50.39 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.001984/0.07299, allocations: 1.591 MB / 397.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.07437, allocations: 0.9444 MB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.07449, allocations: 7.938 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.07498, allocations: 135.7 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.07521, allocations: 107.7 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.07567, allocations: 171.6 kB / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.07588, allocations: 179.4 kB / 398.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.07598, allocations: 29.83 kB / 398.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.07608, allocations: 59.66 kB / 398.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.07618, allocations: 63.69 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.07621, allocations: 8 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.07633, allocations: 47.91 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.07639, allocations: 35.84 kB / 398.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.07647, allocations: 89.25 kB / 399 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.07669, allocations: 191.3 kB / 399.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.0767, allocations: 0 / 399.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.07671, allocations: 4 kB / 399.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.07672, allocations: 0 / 399.2 MB, free: 14.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005486/0.07728, allocations: 488.2 kB / 399.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.07731, allocations: 16.03 kB / 399.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.07737, allocations: 20.73 kB / 399.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.07764, allocations: 258.9 kB / 400 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.07766, allocations: 4.375 kB / 400 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.07769, allocations: 12.12 kB / 400 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.07796, allocations: 142.7 kB / 400.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.07798, allocations: 0 / 400.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.078, allocations: 3.938 kB / 400.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.07801, allocations: 4 kB / 400.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.0781, allocations: 31.97 kB / 400.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.07852, allocations: 370.3 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.07872, allocations: 107.9 kB / 400.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.0788, allocations: 46.56 kB / 400.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.07883, allocations: 4 kB / 400.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.07897, allocations: 75.33 kB / 400.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.07898, allocations: 0 / 400.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003111/0.0793, allocations: 153.5 kB / 400.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.07938, allocations: 132.5 kB / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.07962, allocations: 257 kB / 401.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.07965, allocations: 33.69 kB / 401.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.07972, allocations: 120.1 kB / 401.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.07974, allocations: 19.75 kB / 401.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.07977, allocations: 21.7 kB / 401.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.07987, allocations: 330.8 kB / 401.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.07993, allocations: 31.92 kB / 401.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.08001, allocations: 62 kB / 401.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.08013, allocations: 80.25 kB / 402 MB, free: 11.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.08014, allocations: 0 / 402 MB, free: 11.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001923/0.08034, allocations: 109.4 kB / 402.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.08036, allocations: 11.92 kB / 402.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.08038, allocations: 4 kB / 402.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.08039, allocations: 0 / 402.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.08046, allocations: 16.12 kB / 402.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.08048, allocations: 4 kB / 402.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.08054, allocations: 15.83 kB / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.08056, allocations: 4 kB / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.08067, allocations: 141.8 kB / 402.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.08074, allocations: 57.52 kB / 402.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.08079, allocations: 25.7 kB / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0808, allocations: 64 / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.08081, allocations: 8 kB / 402.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.08082, allocations: 3.938 kB / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.08099, allocations: 225.6 kB / 402.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.081, allocations: 0 / 402.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.08103, allocations: 11.92 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.08103, allocations: 4 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.08105, allocations: 0 / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.08105, allocations: 4.312 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08106, allocations: 0 / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.08127, allocations: 166.4 kB / 402.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.08136, allocations: 112.8 kB / 402.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.08139, allocations: 0 / 402.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.08145, allocations: 7.984 kB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.08149, allocations: 8 kB / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.08151, allocations: 7.938 kB / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.08168, allocations: 196.5 kB / 403.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08168, allocations: 4 kB / 403.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.08192, allocations: 27.98 kB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008006/0.08272, allocations: 411.7 kB / 403.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.0829, allocations: 67.91 kB / 403.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08291, allocations: 256 / 403.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.08298, allocations: 28 kB / 403.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.08334, allocations: 57.02 kB / 403.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.08379, allocations: 348 kB / 404 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.08403, allocations: 0.7322 MB / 404.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.0841, allocations: 25.52 kB / 404.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.08414, allocations: 23.36 kB / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08415, allocations: 0 / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Templates: time 0.004574/0.08873, allocations: 2.268 MB / 407.1 MB, free: 6.371 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches