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.001606/0.001606, allocations: 109.5 kB / 17.06 MB, free: 6.023 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.002395/0.002395, allocations: 191 kB / 18 MB, free: 5.105 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.56/1.56, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 51.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3678, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004311/0.3721, allocations: 1.863 MB / 402.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3743, allocations: 1.161 MB / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3746, allocations: 0 / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.375, allocations: 67.66 kB / 403.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.3754, allocations: 95.58 kB / 403.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.3762, allocations: 267.9 kB / 404.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3765, allocations: 171.5 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3767, allocations: 21.55 kB / 404.4 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3768, allocations: 79.69 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3769, allocations: 79.62 kB / 404.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.377, allocations: 12 kB / 404.5 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3771, allocations: 63.95 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.3772, allocations: 51.83 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3773, allocations: 75.42 kB / 404.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.3777, allocations: 236.3 kB / 404.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3777, allocations: 0 / 404.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3778, allocations: 3.938 kB / 404.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.3778, allocations: 4 kB / 404.9 MB, free: 4.656 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.000877/0.3786, allocations: 0.5311 MB / 405.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3787, allocations: 15.89 kB / 405.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3788, allocations: 24.66 kB / 405.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.3793, allocations: 287.5 kB / 405.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3794, allocations: 4.375 kB / 405.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3794, allocations: 12.12 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3798, allocations: 155.6 kB / 406 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3798, allocations: 0 / 406 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3799, allocations: 4 kB / 406 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3799, allocations: 0 / 406 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.38, allocations: 39.92 kB / 406 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.3807, allocations: 382.4 kB / 406.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.381, allocations: 115.9 kB / 406.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.3811, allocations: 46.56 kB / 406.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3812, allocations: 8.062 kB / 406.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3814, allocations: 75.38 kB / 406.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.3814, allocations: 3.938 kB / 406.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000477/0.3819, allocations: 157.3 kB / 406.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.382, allocations: 166.2 kB / 406.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.3823, allocations: 318.7 kB / 407.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3824, allocations: 33.7 kB / 407.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3825, allocations: 124 kB / 407.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3825, allocations: 19.75 kB / 407.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.3826, allocations: 41.89 kB / 407.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3828, allocations: 334.8 kB / 407.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.3829, allocations: 23.98 kB / 407.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.383, allocations: 86.8 kB / 407.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3832, allocations: 92.2 kB / 408 MB, free: 1.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3832, allocations: 0 / 408 MB, free: 1.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.3834, allocations: 113.4 kB / 408.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3835, allocations: 11.94 kB / 408.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3835, allocations: 4.125 kB / 408.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3835, allocations: 4 kB / 408.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3836, allocations: 15.98 kB / 408.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3836, allocations: 4 kB / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.593e-05/0.3837, allocations: 15.84 kB / 408.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3837, allocations: 4.312 kB / 408.2 MB, free: 1.09 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.0001529/0.3839, allocations: 161.8 kB / 408.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.384, allocations: 65.45 kB / 408.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.3841, allocations: 25.7 kB / 408.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3841, allocations: 7.938 kB / 408.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3841, allocations: 0 / 408.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3841, allocations: 3.938 kB / 408.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3843, allocations: 241.5 kB / 408.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3843, allocations: 0 / 408.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.3844, allocations: 15.94 kB / 408.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3844, allocations: 0 / 408.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3844, allocations: 0 / 408.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3844, allocations: 7.984 kB / 408.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3844, allocations: 4.031 kB / 408.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3847, allocations: 166.4 kB / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3848, allocations: 108.9 kB / 409 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3849, allocations: 7.938 kB / 409 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.3849, allocations: 7.984 kB / 409 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.385, allocations: 8 kB / 409 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.385, allocations: 15.92 kB / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.3853, allocations: 237.9 kB / 409.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3853, allocations: 0 / 409.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3856, allocations: 32 kB / 409.3 MB, free: 15.88 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.001128/0.3867, allocations: 421.4 kB / 409.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.3871, allocations: 75.84 kB / 409.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.3871, allocations: 4 kB / 409.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3872, allocations: 27.98 kB / 409.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.3877, allocations: 71.55 kB / 409.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.3887, allocations: 368.9 kB / 410.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3892, allocations: 0.7402 MB / 410.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3893, allocations: 33.5 kB / 411 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3894, allocations: 23.44 kB / 411 MB, free: 14.24 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3894, allocations: 3.938 kB / 411 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.007784/0.3972, allocations: 2.811 MB / 413.8 MB, free: 11.45 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