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.001435/0.001435, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009449, allocations: 94.5 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.837e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.0981, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4043, allocations: 80.36 MB / 467.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4045, allocations: 79.95 kB / 467.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.4223, allocations: 6.642 MB / 474.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4223, allocations: 4 kB / 474.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4224, allocations: 0 / 474.5 MB, free: 7.777 MB / 346.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.0006131/0.423, allocations: 0.5 MB / 475 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.423, allocations: 8.031 kB / 475 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.4231, allocations: 23.72 kB / 475.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4235, allocations: 282.5 kB / 475.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4236, allocations: 7.984 kB / 475.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.4236, allocations: 4 kB / 475.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.4237, allocations: 40.56 kB / 475.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.424, allocations: 143.6 kB / 475.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.424, allocations: 3.953 kB / 475.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.424, allocations: 0 / 475.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4241, allocations: 8 kB / 475.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.4246, allocations: 375 kB / 475.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4248, allocations: 115.8 kB / 476 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.4248, allocations: 38.7 kB / 476.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4248, allocations: 0 / 476.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.425, allocations: 83.34 kB / 476.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.597e-06/0.425, allocations: 3.984 kB / 476.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002424/0.4252, allocations: 121.3 kB / 476.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.4253, allocations: 162.2 kB / 476.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4256, allocations: 290.2 kB / 476.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4256, allocations: 29.7 kB / 476.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.4257, allocations: 128.1 kB / 476.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.4258, allocations: 23.86 kB / 476.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.4258, allocations: 0 / 476.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4259, allocations: 330.8 kB / 477.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.4259, allocations: 19.98 kB / 477.2 MB, free: 4.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.426, allocations: 82.86 kB / 477.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.4261, allocations: 27.98 kB / 477.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4261, allocations: 0 / 477.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001533/0.4263, allocations: 113.4 kB / 477.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4263, allocations: 4.938 kB / 477.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4263, allocations: 7.953 kB / 477.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4263, allocations: 0 / 477.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4264, allocations: 28.11 kB / 477.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.4264, allocations: 0 / 477.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.4265, allocations: 7.906 kB / 477.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4265, allocations: 4 kB / 477.5 MB, free: 4.5 MB / 346.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.4266, allocations: 116.9 kB / 477.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.4267, allocations: 53.52 kB / 477.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4269, allocations: 119.5 kB / 477.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4269, allocations: 7.953 kB / 477.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4269, allocations: 0 / 477.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4269, allocations: 4 kB / 477.8 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4271, allocations: 230 kB / 478 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4271, allocations: 4 kB / 478 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.4272, allocations: 15.98 kB / 478 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4272, allocations: 4 kB / 478 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4272, allocations: 0 / 478 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4272, allocations: 128 / 478 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.4272, allocations: 8 kB / 478.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4275, allocations: 193.9 kB / 478.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4276, allocations: 116.9 kB / 478.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.4276, allocations: 7.953 kB / 478.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.4277, allocations: 4 kB / 478.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.4277, allocations: 19.92 kB / 478.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4278, allocations: 4 kB / 478.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.428, allocations: 226 kB / 478.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.428, allocations: 0 / 478.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.4283, allocations: 51.84 kB / 478.7 MB, free: 3.227 MB / 346.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007773/0.429, allocations: 364.1 kB / 479 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4293, allocations: 75.91 kB / 479.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4293, allocations: 4 kB / 479.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.4293, allocations: 31.92 kB / 479.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4297, allocations: 58.12 kB / 479.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4302, allocations: 271.8 kB / 479.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4305, allocations: 0.7514 MB / 480.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.4306, allocations: 25.33 kB / 480.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.4307, allocations: 23.42 kB / 480.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4307, allocations: 4 kB / 480.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of Templates: time 0.005656/0.4364, allocations: 2.557 MB / 482.8 MB, free: 15.12 MB / 362.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/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