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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 143 kB / 25.59 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.971/0.971, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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=5053,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=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.178e-05, allocations: 3.125 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002573/0.002594, allocations: 1.895 MB / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004008, allocations: 1.117 MB / 272.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004133, allocations: 3.938 kB / 272.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.004423, allocations: 71.59 kB / 272.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.004663, allocations: 96.98 kB / 272.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.005255, allocations: 268.8 kB / 272.6 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005472, allocations: 171.5 kB / 272.8 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.005568, allocations: 19.45 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.005687, allocations: 99.66 kB / 272.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.005785, allocations: 67.86 kB / 273 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.005804, allocations: 8 kB / 273 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.005949, allocations: 73.09 kB / 273.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.00602, allocations: 55.83 kB / 273.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.006064, allocations: 31.86 kB / 273.1 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.006299, allocations: 183.3 kB / 273.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006302, allocations: 0.875 kB / 273.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006302, allocations: 4 kB / 273.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006306, allocations: 1 kB / 273.3 MB, free: 5.645 MB / 250.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.0004984/0.006805, allocations: 0.5632 MB / 273.9 MB, free: 5.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006841, allocations: 8.781 kB / 273.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.0069, allocations: 28.75 kB / 273.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.007118, allocations: 216.2 kB / 274.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.007136, allocations: 12.31 kB / 274.2 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.007146, allocations: 4.375 kB / 274.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.007348, allocations: 157.1 kB / 274.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007357, allocations: 3.938 kB / 274.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.007365, allocations: 0 / 274.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.007369, allocations: 0 / 274.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.007408, allocations: 27.92 kB / 274.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.007716, allocations: 323.7 kB / 274.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007842, allocations: 109.3 kB / 274.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.007884, allocations: 46.92 kB / 274.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.007901, allocations: 4 kB / 274.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.459e-05/0.007995, allocations: 72.97 kB / 274.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.007997, allocations: 4 kB / 274.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001934/0.00819, allocations: 117.5 kB / 275 MB, free: 3.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.008243, allocations: 110.8 kB / 275.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.00842, allocations: 312.2 kB / 275.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.008435, allocations: 25.7 kB / 275.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.008512, allocations: 186.8 kB / 275.6 MB, free: 3.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.008532, allocations: 15.89 kB / 275.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.008569, allocations: 35.31 kB / 275.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.008694, allocations: 0.5079 MB / 276.2 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.008716, allocations: 12.23 kB / 276.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.008758, allocations: 64.75 kB / 276.3 MB, free: 2.426 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.557e-05/0.008814, allocations: 43.55 kB / 276.3 MB, free: 2.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008816, allocations: 4 kB / 276.3 MB, free: 2.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.284e-05/0.008909, allocations: 77.53 kB / 276.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.008921, allocations: 8 kB / 276.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.008924, allocations: 0 / 276.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.008932, allocations: 0 / 276.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.008996, allocations: 19.98 kB / 276.4 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.008998, allocations: 4 kB / 276.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.009036, allocations: 11.95 kB / 276.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.009041, allocations: 0 / 276.4 MB, free: 2.246 MB / 250.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.094e-05/0.009122, allocations: 160.6 kB / 276.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.009178, allocations: 69.44 kB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.009299, allocations: 95.44 kB / 276.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009301, allocations: 0 / 276.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.009304, allocations: 4 kB / 276.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.009309, allocations: 12.03 kB / 276.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009424, allocations: 149.1 kB / 276.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009425, allocations: 0 / 276.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.009467, allocations: 19.86 kB / 276.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.00947, allocations: 7.938 kB / 276.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.009475, allocations: 0 / 276.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009477, allocations: 4 kB / 276.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009478, allocations: 0 / 276.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.009592, allocations: 151.9 kB / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.009639, allocations: 31.83 kB / 277.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.009659, allocations: 15.94 kB / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.00969, allocations: 0 / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.009726, allocations: 11.98 kB / 277.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.009744, allocations: 8.062 kB / 277.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.009847, allocations: 217 kB / 277.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009847, allocations: 0 / 277.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.01002, allocations: 27.94 kB / 277.4 MB, free: 1.199 MB / 250.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.000835/0.01086, allocations: 405.7 kB / 277.8 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01096, allocations: 51.58 kB / 277.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01096, allocations: 0 / 277.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.011, allocations: 27.67 kB / 277.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01124, allocations: 63.58 kB / 277.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.0116, allocations: 326 kB / 278.2 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.01165, allocations: 79.83 kB / 278.3 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.0117, allocations: 21.62 kB / 278.3 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.01181, allocations: 106.2 kB / 278.4 MB, free: 220 kB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01181, allocations: 0 / 278.4 MB, free: 220 kB / 250.7 MB Notification: Performance of Templates: time 0.00481/0.01662, allocations: 3.171 MB / 281.6 MB, free: 13.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.7962619131430984]