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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001251/0.001251, allocations: 196 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 43.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, allocations: 49.44 MB / 400.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003698/0.3664, allocations: 1.873 MB / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3687, allocations: 1.149 MB / 403.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3689, allocations: 7.938 kB / 403.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.3693, allocations: 63.61 kB / 403.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.3696, allocations: 91.59 kB / 403.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.3704, allocations: 267.5 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3707, allocations: 163.5 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3708, allocations: 33.53 kB / 404.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.371, allocations: 75.7 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3711, allocations: 79.61 kB / 404.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3711, allocations: 8 kB / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3713, allocations: 67.95 kB / 404.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3714, allocations: 51.83 kB / 404.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3715, allocations: 79.47 kB / 404.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3719, allocations: 236.3 kB / 404.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3719, allocations: 0 / 404.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3719, allocations: 0 / 404.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3719, allocations: 0 / 404.9 MB, free: 4.633 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.0008176/0.3727, allocations: 0.5303 MB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3728, allocations: 15.83 kB / 405.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.3729, allocations: 24.66 kB / 405.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.3733, allocations: 287.6 kB / 405.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3733, allocations: 4.375 kB / 405.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3734, allocations: 12.12 kB / 405.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3738, allocations: 155.6 kB / 406 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3738, allocations: 0 / 406 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3738, allocations: 4 kB / 406 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3738, allocations: 0 / 406 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3739, allocations: 43.89 kB / 406 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3745, allocations: 382.4 kB / 406.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.3748, allocations: 119.9 kB / 406.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3749, allocations: 46.56 kB / 406.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3749, allocations: 0 / 406.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.3751, allocations: 79.38 kB / 406.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 3.085e-06/0.3751, allocations: 4 kB / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004032/0.3755, allocations: 153.2 kB / 406.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3757, allocations: 158.2 kB / 406.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.376, allocations: 326.7 kB / 407.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.376, allocations: 25.7 kB / 407.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3761, allocations: 132.3 kB / 407.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3762, allocations: 23.73 kB / 407.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3762, allocations: 29.7 kB / 407.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3764, allocations: 338.7 kB / 407.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.3764, allocations: 23.98 kB / 407.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3766, allocations: 86.78 kB / 407.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3768, allocations: 92.16 kB / 408 MB, free: 1.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3768, allocations: 4 kB / 408 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.377, allocations: 121.5 kB / 408.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3771, allocations: 4 kB / 408.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3771, allocations: 7.938 kB / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3771, allocations: 0 / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3772, allocations: 19.98 kB / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3772, allocations: 0 / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.3773, allocations: 15.88 kB / 408.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3773, allocations: 7.984 kB / 408.2 MB, free: 1.066 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,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.0001476/0.3775, allocations: 162.1 kB / 408.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.3776, allocations: 69.47 kB / 408.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.3777, allocations: 29.7 kB / 408.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3777, allocations: 0 / 408.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3777, allocations: 4 kB / 408.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3777, allocations: 3.938 kB / 408.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3779, allocations: 241.6 kB / 408.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3779, allocations: 0 / 408.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.378, allocations: 15.92 kB / 408.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.378, allocations: 0 / 408.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.378, allocations: 8.062 kB / 408.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3781, allocations: 0 / 408.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3781, allocations: 7.984 kB / 408.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3783, allocations: 162.4 kB / 408.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3785, allocations: 112.9 kB / 409 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3785, allocations: 4 kB / 409 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.3786, allocations: 4 kB / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3786, allocations: 19.92 kB / 409 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3787, allocations: 3.938 kB / 409 MB, free: 128 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.3789, allocations: 241.9 kB / 409.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3789, allocations: 0 / 409.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3792, allocations: 39.98 kB / 409.3 MB, free: 15.85 MB / 334.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,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.001043/0.3803, allocations: 419.6 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.3806, allocations: 79.83 kB / 409.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3806, allocations: 0 / 409.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.3807, allocations: 27.98 kB / 409.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3811, allocations: 65.31 kB / 409.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.3818, allocations: 381.3 kB / 410.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3821, allocations: 0.7358 MB / 410.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.3822, allocations: 21.55 kB / 411 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.3823, allocations: 23.42 kB / 411 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3823, allocations: 4 kB / 411 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.006809/0.3891, allocations: 2.813 MB / 413.8 MB, free: 11.42 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches