Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001121/0.001121, allocations: 80.92 kB / 21.49 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.001347/0.001347, allocations: 169 kB / 24.91 MB, free: 8.723 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.9345/0.9345, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1425/0.1425, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.626e-05, allocations: 6.25 kB / 323.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002832/0.002849, allocations: 1.953 MB / 325.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.004402, allocations: 1.044 MB / 326.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.004489, allocations: 0 / 326.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.004712, allocations: 39.64 kB / 326.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.00499, allocations: 107.4 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.005206, allocations: 103.5 kB / 326.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.005392, allocations: 151.5 kB / 326.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.005469, allocations: 22.44 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.005579, allocations: 79.73 kB / 326.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.005657, allocations: 35.84 kB / 326.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.005674, allocations: 8 kB / 326.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.005757, allocations: 51.91 kB / 326.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.005801, allocations: 27.86 kB / 326.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.005841, allocations: 27.91 kB / 326.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.006037, allocations: 127.5 kB / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.006039, allocations: 4 kB / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006039, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.006042, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004422/0.006484, allocations: 389.6 kB / 327.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.006516, allocations: 11.98 kB / 327.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.006554, allocations: 12.92 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.006743, allocations: 174.2 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.00676, allocations: 4.375 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.006784, allocations: 12.38 kB / 327.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.006948, allocations: 134 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006957, allocations: 3.938 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.006966, allocations: 0 / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.006971, allocations: 0 / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.007017, allocations: 30.75 kB / 327.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.007369, allocations: 370.1 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.00754, allocations: 109.3 kB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.007566, allocations: 12.86 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.007577, allocations: 4 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.00768, allocations: 99.83 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.007682, allocations: 0 / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001318/0.007813, allocations: 81.81 kB / 328.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.007839, allocations: 51.41 kB / 328.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.007968, allocations: 193.5 kB / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.007984, allocations: 25.7 kB / 328.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.008036, allocations: 116 kB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.008057, allocations: 23.78 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.0081, allocations: 33.66 kB / 328.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.008186, allocations: 334.7 kB / 329.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.008209, allocations: 10.83 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.008249, allocations: 44.27 kB / 329.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.008321, allocations: 65.81 kB / 329.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008324, allocations: 8 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001178/0.008442, allocations: 88.36 kB / 329.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.008452, allocations: 4 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008457, allocations: 7.938 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008468, allocations: 0 / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.008538, allocations: 23.98 kB / 329.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.008541, allocations: 0 / 329.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.008589, allocations: 19.92 kB / 329.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.008598, allocations: 4 kB / 329.5 MB, free: 12.24 MB / 314.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.382e-05/0.008671, allocations: 132.7 kB / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.00869, allocations: 11.98 kB / 329.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008798, allocations: 75.12 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.0088, allocations: 0 / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.008803, allocations: 4 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.008806, allocations: 3.938 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.008908, allocations: 101.8 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.008911, allocations: 3.938 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.008962, allocations: 8 kB / 329.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.008966, allocations: 7.984 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.008974, allocations: 4 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008975, allocations: 0 / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008976, allocations: 0 / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009113, allocations: 114.7 kB / 330 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.009132, allocations: 19.83 kB / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.00915, allocations: 4 kB / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.009187, allocations: 7.984 kB / 330 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.009211, allocations: 7.984 kB / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.009222, allocations: 4 kB / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.009282, allocations: 51.64 kB / 330.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009282, allocations: 4.031 kB / 330.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.009469, allocations: 27.94 kB / 330.1 MB, free: 11.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001124/0.01059, allocations: 0.5135 MB / 330.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.01069, allocations: 52.7 kB / 330.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01069, allocations: 0 / 330.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.01072, allocations: 28.8 kB / 330.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.01086, allocations: 48.09 kB / 330.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.01115, allocations: 253.9 kB / 331 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.01118, allocations: 71.83 kB / 331.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01121, allocations: 21.47 kB / 331.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.01129, allocations: 75.36 kB / 331.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01129, allocations: 0 / 331.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of Templates: time 0.00339/0.01468, allocations: 2.194 MB / 333.4 MB, free: 8.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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: 3.066982758231461]