Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 110.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 43.92 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003425/0.3733, allocations: 1.913 MB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3752, allocations: 1.141 MB / 402.5 MB, free: 30.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3754, allocations: 4 kB / 402.5 MB, free: 30.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3758, allocations: 55.8 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3761, allocations: 83.72 kB / 402.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.3768, allocations: 228.3 kB / 402.9 MB, free: 29.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.377, allocations: 163.5 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3771, allocations: 21.56 kB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3772, allocations: 71.69 kB / 403.1 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3773, allocations: 75.62 kB / 403.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3774, allocations: 8 kB / 403.2 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3775, allocations: 51.97 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3776, allocations: 51.81 kB / 403.3 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.3777, allocations: 75.42 kB / 403.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.378, allocations: 220.8 kB / 403.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.378, allocations: 3.938 kB / 403.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.378, allocations: 0 / 403.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.378, allocations: 0 / 403.6 MB, free: 29.2 MB / 298.7 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.0007264/0.3787, allocations: 0.5196 MB / 404.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3788, allocations: 15.97 kB / 404.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.3788, allocations: 28.66 kB / 404.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3791, allocations: 291.4 kB / 404.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3792, allocations: 8.375 kB / 404.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3792, allocations: 12.11 kB / 404.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3796, allocations: 155.6 kB / 404.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3796, allocations: 0 / 404.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3796, allocations: 4 kB / 404.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3796, allocations: 0 / 404.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3798, allocations: 39.92 kB / 404.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3803, allocations: 378.4 kB / 405.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3805, allocations: 119.8 kB / 405.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.3806, allocations: 50.56 kB / 405.2 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3807, allocations: 4 kB / 405.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.3809, allocations: 83.38 kB / 405.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3809, allocations: 0 / 405.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003507/0.3813, allocations: 149.6 kB / 405.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.3814, allocations: 166.2 kB / 405.6 MB, free: 26.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.3816, allocations: 326.6 kB / 405.9 MB, free: 26.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3817, allocations: 33.7 kB / 406 MB, free: 26.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.3818, allocations: 120.1 kB / 406.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3818, allocations: 27.8 kB / 406.1 MB, free: 26.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.3818, allocations: 25.72 kB / 406.1 MB, free: 26.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.3819, allocations: 338.8 kB / 406.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.382, allocations: 23.98 kB / 406.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.3821, allocations: 86.84 kB / 406.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3823, allocations: 92.14 kB / 406.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3823, allocations: 3.938 kB / 406.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001997/0.3825, allocations: 121.3 kB / 406.8 MB, free: 25.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3825, allocations: 8 kB / 406.8 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3825, allocations: 0 / 406.8 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3826, allocations: 0 / 406.8 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3827, allocations: 28.05 kB / 406.8 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3827, allocations: 4 kB / 406.8 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.3828, allocations: 7.938 kB / 406.8 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3828, allocations: 8 kB / 406.8 MB, free: 25.62 MB / 298.7 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,superSample1.y,superSample1.u,sample1.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.0001236/0.3829, allocations: 149.8 kB / 407 MB, free: 25.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.383, allocations: 65.36 kB / 407.1 MB, free: 25.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.383, allocations: 29.7 kB / 407.1 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3831, allocations: 4.062 kB / 407.1 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3831, allocations: 4 kB / 407.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3831, allocations: 3.938 kB / 407.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3833, allocations: 241.8 kB / 407.3 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3833, allocations: 0 / 407.3 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.3833, allocations: 12 kB / 407.3 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3834, allocations: 4 kB / 407.3 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3834, allocations: 7.922 kB / 407.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3834, allocations: 4 kB / 407.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3834, allocations: 0 / 407.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.3839, allocations: 0.7658 MB / 408.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.384, allocations: 120.7 kB / 408.2 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.384, allocations: 7.938 kB / 408.2 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.3841, allocations: 7.984 kB / 408.3 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.3841, allocations: 12 kB / 408.3 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3842, allocations: 11.97 kB / 408.3 MB, free: 24.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3843, allocations: 237.9 kB / 408.5 MB, free: 23.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3843, allocations: 0 / 408.5 MB, free: 23.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.3847, allocations: 36 kB / 408.5 MB, free: 23.77 MB / 298.7 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,superSample1.y,sample1.y,superSample1.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.001023/0.3857, allocations: 437.4 kB / 409 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.386, allocations: 71.97 kB / 409 MB, free: 23.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.386, allocations: 0 / 409 MB, free: 23.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.3861, allocations: 31.92 kB / 409.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3865, allocations: 64.41 kB / 409.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.3871, allocations: 0.5332 MB / 409.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.3873, allocations: 0.74 MB / 410.4 MB, free: 21.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.3873, allocations: 25.48 kB / 410.4 MB, free: 21.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3874, allocations: 23.42 kB / 410.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3874, allocations: 4 kB / 410.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of Templates: time 0.006212/0.3936, allocations: 2.742 MB / 413.2 MB, free: 19.22 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches