Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001311/0.001311, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00119/0.00119, allocations: 172.9 kB / 24.91 MB, free: 9.211 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 0.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2684/0.2684, allocations: 34.26 MB / 296.1 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.848e-05, allocations: 3.781 kB / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002606/0.002624, allocations: 1.761 MB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004259, allocations: 0.9981 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.004324, allocations: 0 / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.004604, allocations: 59.73 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.004848, allocations: 107.5 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.004981, allocations: 75.61 kB / 328.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.00513, allocations: 107.7 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.00517, allocations: 4.234 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.005262, allocations: 67.75 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.005348, allocations: 35.91 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.005363, allocations: 4 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.00543, allocations: 39.91 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.005475, allocations: 19.92 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.005507, allocations: 20.38 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.005655, allocations: 91.59 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005657, allocations: 4 kB / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005657, allocations: 0 / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.005661, allocations: 0 / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003548/0.006016, allocations: 309.7 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.006049, allocations: 12.03 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.006079, allocations: 4.938 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.006235, allocations: 155.4 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.00625, allocations: 384 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.006258, allocations: 384 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.00636, allocations: 57.77 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.006369, allocations: 7.875 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006377, allocations: 4 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.006383, allocations: 4 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.006403, allocations: 4 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.723e-05/0.006491, allocations: 70.69 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.006569, allocations: 33.44 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.006586, allocations: 16.86 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.006595, allocations: 0 / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.006713, allocations: 62.16 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.006715, allocations: 3.938 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001337/0.006848, allocations: 57.67 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.006879, allocations: 55.34 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.006984, allocations: 185.3 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006996, allocations: 25.7 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.007019, allocations: 92.11 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.007047, allocations: 19.83 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.007073, allocations: 21.7 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.007143, allocations: 326.8 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.007155, allocations: 6.828 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.007175, allocations: 21.66 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.007214, allocations: 35.61 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007216, allocations: 0 / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.387e-05/0.00728, allocations: 68.44 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.00729, allocations: 4 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.007294, allocations: 0 / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007306, allocations: 4 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.007362, allocations: 11.94 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.007364, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.007391, allocations: 7.984 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.007395, allocations: 0 / 330.4 MB, free: 2.355 MB / 298.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.614e-05/0.007451, allocations: 116.7 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.007462, allocations: 15.95 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.007534, allocations: 54.84 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.007539, allocations: 11.97 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007541, allocations: 3.938 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007543, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.227e-05/0.007616, allocations: 85.86 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.007616, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.007631, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007633, allocations: 4 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.007637, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007638, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.00764, allocations: 7.984 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.968e-05/0.0077, allocations: 86.78 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.007715, allocations: 19.95 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.00773, allocations: 11.94 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.007746, allocations: 0 / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.007768, allocations: 3.984 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.007777, allocations: 4 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.007817, allocations: 59.58 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007817, allocations: 0 / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001128/0.00793, allocations: 23.92 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001057/0.008987, allocations: 0.5002 MB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.424e-05/0.009061, allocations: 40.77 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.009064, allocations: 0 / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.009086, allocations: 12.86 kB / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.00921, allocations: 31.95 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.009714, allocations: 194.8 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.009747, allocations: 71.33 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.009773, allocations: 12.5 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.00983, allocations: 67.36 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009831, allocations: 0 / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of Templates: time 0.002994/0.01282, allocations: 1.771 MB / 333.6 MB, free: 15.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.873789214063436]