Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 171.5 kB / 24.82 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.342e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.006103/0.006126, allocations: 1.927 MB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.0109, allocations: 1.254 MB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.01103, allocations: 3.938 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.01133, allocations: 75.53 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.01166, allocations: 131.4 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.0122, allocations: 231.2 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.01242, allocations: 187.4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.01251, allocations: 25.72 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.01265, allocations: 103.7 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.01275, allocations: 71.78 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.01277, allocations: 8 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.01291, allocations: 67.95 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.01298, allocations: 55.81 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.01302, allocations: 39.81 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.01428, allocations: 191.3 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01428, allocations: 7.938 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01428, allocations: 0 / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.01429, allocations: 0 / 277.7 MB, free: 12.93 MB / 266.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.0005449/0.01483, allocations: 0.5594 MB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01487, allocations: 8.031 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.01492, allocations: 36.73 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.01516, allocations: 227.5 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.01518, allocations: 8.375 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.01519, allocations: 8.375 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.01541, allocations: 153.2 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.01541, allocations: 3.938 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.01542, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.01543, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.01547, allocations: 23.91 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.0158, allocations: 331.7 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.01593, allocations: 113.3 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.01597, allocations: 39 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01599, allocations: 0 / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.477e-05/0.01609, allocations: 73.03 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.01609, allocations: 0 / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002188/0.01631, allocations: 121.4 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.01636, allocations: 110.8 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01658, allocations: 316.2 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.0166, allocations: 33.7 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.01669, allocations: 182.8 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.01671, allocations: 19.81 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.01676, allocations: 27.38 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01689, allocations: 0.5118 MB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.01691, allocations: 8 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.01696, allocations: 68.94 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.01701, allocations: 43.34 kB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01702, allocations: 0 / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003366/0.01735, allocations: 89.42 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01736, allocations: 4 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01737, allocations: 4.25 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01738, allocations: 4 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.01745, allocations: 11.98 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01746, allocations: 4 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.0175, allocations: 12.06 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.01751, allocations: 4 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.841e-05/0.01759, allocations: 161.3 kB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.01765, allocations: 73.47 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.01776, allocations: 99.38 kB / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01776, allocations: 0 / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01776, allocations: 0 / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01777, allocations: 4 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.01788, allocations: 153.2 kB / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01788, allocations: 4 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.01792, allocations: 11.98 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01792, allocations: 7.938 kB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.01793, allocations: 0 / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01793, allocations: 4 kB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01793, allocations: 0 / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.01806, allocations: 151.6 kB / 281.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.01812, allocations: 31.78 kB / 281.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01815, allocations: 15.92 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.0182, allocations: 0 / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.01824, allocations: 15.98 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.01826, allocations: 4 kB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.0184, allocations: 217.1 kB / 281.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0184, allocations: 0 / 281.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01864, allocations: 32 kB / 281.8 MB, free: 8.453 MB / 266.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * 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 (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.0007126/0.01935, allocations: 391.9 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.01944, allocations: 55.53 kB / 282.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01944, allocations: 0 / 282.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.01948, allocations: 31.61 kB / 282.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01971, allocations: 72.53 kB / 282.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.02009, allocations: 353.3 kB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.02014, allocations: 79.98 kB / 282.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.839e-05/0.02018, allocations: 21.47 kB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.02027, allocations: 102.2 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02027, allocations: 0 / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of Templates: time 0.00462/0.02489, allocations: 3.154 MB / 286.1 MB, free: 4.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.861323381308466]