Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009595/0.0009595, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001172/0.001172, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9821/0.9821, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.25/0.25, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.605e-05, allocations: 2.312 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002393/0.002409, allocations: 1.765 MB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.00364, allocations: 1.002 MB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.003702, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.003963, allocations: 55.73 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.004183, allocations: 107.5 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.004302, allocations: 75.67 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004441, allocations: 112.1 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.00448, allocations: 8.219 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.004565, allocations: 55.83 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.816e-05/0.004653, allocations: 43.88 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.004667, allocations: 4 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-05/0.00473, allocations: 35.92 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.00477, allocations: 19.92 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.004798, allocations: 15.94 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004932, allocations: 91.59 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004933, allocations: 0 / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004934, allocations: 4 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004937, allocations: 0 / 328.8 MB, free: 4.16 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.0003135/0.00525, allocations: 313.6 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.00528, allocations: 8.031 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.005306, allocations: 8.922 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.005443, allocations: 151.4 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005456, allocations: 384 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.005462, allocations: 384 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.005563, allocations: 65.7 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005574, allocations: 3.938 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.00558, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.005587, allocations: 4 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.005608, allocations: 11.98 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.044e-05/0.005689, allocations: 66.7 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.005757, allocations: 37.44 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.005776, allocations: 16.84 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.005784, allocations: 0 / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.752e-05/0.005862, allocations: 70.14 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.005862, allocations: 0 / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.513e-05/0.005958, allocations: 49.69 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.005984, allocations: 59.34 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.006079, allocations: 177.3 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.006092, allocations: 29.7 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.006115, allocations: 88.12 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.006145, allocations: 27.81 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.006168, allocations: 13.72 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.00624, allocations: 326.8 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.006252, allocations: 10.77 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.006272, allocations: 21.7 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.006307, allocations: 35.61 kB / 330.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006309, allocations: 11.94 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.816e-05/0.006367, allocations: 56.45 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.006377, allocations: 6.344 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.00638, allocations: 0 / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.006392, allocations: 3.984 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.006441, allocations: 15.94 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.006444, allocations: 0 / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.006467, allocations: 4 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.006471, allocations: 4 kB / 330.4 MB, free: 2.32 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 6.375e-05/0.006535, allocations: 131.1 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.006545, allocations: 4 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/0.006622, allocations: 62.83 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.006625, allocations: 7.984 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006629, allocations: 3.938 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006631, allocations: 0 / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.585e-05/0.006697, allocations: 77.88 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0067, allocations: 3.984 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.006717, allocations: 4 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006719, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.006725, allocations: 4 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006726, allocations: 4 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006728, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.264e-05/0.00679, allocations: 98.75 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.006801, allocations: 11.91 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.006813, allocations: 0 / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.00683, allocations: 7.984 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.006852, allocations: 4 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.006861, allocations: 4 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.006898, allocations: 51.58 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006898, allocations: 4 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001125/0.007011, allocations: 23.94 kB / 330.9 MB, free: 1.766 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.001016/0.008027, allocations: 0.4976 MB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.865e-05/0.008096, allocations: 28.78 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008099, allocations: 4 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.008123, allocations: 16.84 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.008241, allocations: 35.34 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.008497, allocations: 202.8 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.00853, allocations: 67.34 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.008558, allocations: 12.48 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.008613, allocations: 63.36 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008613, allocations: 0 / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of Templates: time 0.003015/0.01163, allocations: 1.771 MB / 333.6 MB, free: 15.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.870040680747479]