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.0009049/0.000905, allocations: 104.6 kB / 16.03 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 195.7 kB / 16.95 MB, free: 6.098 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.79/1.79, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09019/0.09019, allocations: 12.58 MB / 282.7 MB, free: 15.63 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.001844/0.001844, allocations: 83.88 kB / 343 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3602, allocations: 49.38 MB / 392.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.004557/0.3648, allocations: 1.935 MB / 394.3 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3668, allocations: 0.9729 MB / 395.3 MB, free: 47.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.367, allocations: 6.094 kB / 395.3 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.3677, allocations: 141.3 kB / 395.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.3681, allocations: 106.2 kB / 395.5 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.3687, allocations: 163.4 kB / 395.7 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.369, allocations: 186.5 kB / 395.9 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3692, allocations: 34.41 kB / 395.9 MB, free: 46.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3694, allocations: 82.08 kB / 396 MB, free: 46.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3695, allocations: 69.91 kB / 396 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3695, allocations: 7.094 kB / 396 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3697, allocations: 58 kB / 396.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3699, allocations: 42.53 kB / 396.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.37, allocations: 74.41 kB / 396.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.3704, allocations: 194.4 kB / 396.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3704, allocations: 1.031 kB / 396.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3705, allocations: 0 / 396.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3705, allocations: 4.5 kB / 396.4 MB, free: 46.61 MB / 318.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.0009606/0.3714, allocations: 0.5164 MB / 396.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3715, allocations: 9.156 kB / 396.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.3716, allocations: 18.38 kB / 397 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.372, allocations: 257.8 kB / 397.2 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.372, allocations: 16.55 kB / 397.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.372, allocations: 12.28 kB / 397.2 MB, free: 45.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3724, allocations: 142.1 kB / 397.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3724, allocations: 0 / 397.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3725, allocations: 5 kB / 397.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3725, allocations: 5.094 kB / 397.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3726, allocations: 29.02 kB / 397.4 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.3732, allocations: 364.7 kB / 397.8 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3735, allocations: 108.2 kB / 397.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.3736, allocations: 42.88 kB / 397.9 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.3736, allocations: 1.5 kB / 397.9 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.3738, allocations: 79.61 kB / 398 MB, free: 45.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.3738, allocations: 0 / 398 MB, free: 45.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004494/0.3743, allocations: 138.4 kB / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.3744, allocations: 130.9 kB / 398.3 MB, free: 44.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.3747, allocations: 267.1 kB / 398.5 MB, free: 44.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3747, allocations: 31.8 kB / 398.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.3748, allocations: 116 kB / 398.7 MB, free: 44.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3749, allocations: 23.17 kB / 398.7 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.3749, allocations: 27.19 kB / 398.7 MB, free: 44.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.375, allocations: 335.3 kB / 399 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.3751, allocations: 14.81 kB / 399.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.3752, allocations: 80.64 kB / 399.1 MB, free: 44.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.3753, allocations: 72.03 kB / 399.2 MB, free: 44.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3753, allocations: 5.312 kB / 399.2 MB, free: 44.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002151/0.3756, allocations: 111.5 kB / 399.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3756, allocations: 5.219 kB / 399.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3756, allocations: 5.125 kB / 399.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3756, allocations: 6.109 kB / 399.3 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3758, allocations: 9.969 kB / 399.3 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3758, allocations: 2.188 kB / 399.3 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.3758, allocations: 20.5 kB / 399.4 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3759, allocations: 11.39 kB / 399.4 MB, free: 43.93 MB / 318.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.0001466/0.376, allocations: 138.7 kB / 399.5 MB, free: 43.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.3761, allocations: 60.09 kB / 399.6 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3762, allocations: 25.52 kB / 399.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3762, allocations: 1.125 kB / 399.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3762, allocations: 5.125 kB / 399.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3762, allocations: 5.031 kB / 399.6 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3765, allocations: 218.3 kB / 399.8 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3765, allocations: 5.219 kB / 399.8 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.3765, allocations: 12.58 kB / 399.8 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3765, allocations: 1.25 kB / 399.8 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3766, allocations: 2.125 kB / 399.8 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3766, allocations: 5.172 kB / 399.8 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3766, allocations: 5.172 kB / 399.9 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3768, allocations: 163.7 kB / 400 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.3769, allocations: 109.9 kB / 400.1 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.377, allocations: 6.438 kB / 400.1 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.377, allocations: 2.344 kB / 400.1 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.3771, allocations: 7.484 kB / 400.1 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.3771, allocations: 7.5 kB / 400.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.3774, allocations: 195.2 kB / 400.3 MB, free: 43.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3774, allocations: 0 / 400.3 MB, free: 43.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3777, allocations: 29.91 kB / 400.4 MB, free: 43.07 MB / 318.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.001116/0.3788, allocations: 428.6 kB / 400.8 MB, free: 42.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3791, allocations: 65.88 kB / 400.8 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3791, allocations: 0 / 400.8 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.3792, allocations: 23.34 kB / 400.9 MB, free: 42.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3796, allocations: 69.58 kB / 400.9 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.3802, allocations: 349.8 kB / 401.3 MB, free: 42.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3804, allocations: 0.7302 MB / 402 MB, free: 41.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.616e-05/0.3805, allocations: 26.3 kB / 402 MB, free: 41.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.3806, allocations: 20.95 kB / 402.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3806, allocations: 0 / 402.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of Templates: time 0.006616/0.3872, allocations: 2.365 MB / 404.4 MB, free: 40.41 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (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) 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