Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009739/0.0009739, 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.001822/0.001822, allocations: 169.1 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.9802/0.9802, allocations: 177.1 MB / 205.3 MB, free: 5.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.2606/0.2606, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.046e-05, allocations: 4.969 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002567/0.002598, allocations: 1.752 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003863, allocations: 1.009 MB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.003941, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.004219, allocations: 39.7 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.004508, allocations: 95.48 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.004706, allocations: 75.67 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.004857, allocations: 115.5 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.004935, allocations: 5.375 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.005022, allocations: 55.88 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.00509, allocations: 31.86 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.005104, allocations: 4 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.00518, allocations: 47.86 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.005226, allocations: 23.91 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.005256, allocations: 15.94 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.005403, allocations: 99.64 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005405, allocations: 0 / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005405, allocations: 0 / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.005408, allocations: 0 / 326.7 MB, free: 6.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003388/0.005747, allocations: 317.4 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.005777, allocations: 8.031 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.005805, allocations: 20.86 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005946, allocations: 142.3 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005962, allocations: 8.375 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.00598, allocations: 384 / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.006075, allocations: 61.77 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006085, allocations: 7.938 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.006092, allocations: 3.984 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006097, allocations: 0 / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.006119, allocations: 4 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.006307, allocations: 169.8 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.006397, allocations: 97.33 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.006416, allocations: 8.859 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.006428, allocations: 4 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.006506, allocations: 66.14 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.006508, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.00677, allocations: 109.5 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.0068, allocations: 55.41 kB / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.006896, allocations: 174.1 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.006912, allocations: 37.69 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.006938, allocations: 88.12 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.006963, allocations: 31.72 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006992, allocations: 21.72 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.007066, allocations: 326.8 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.007084, allocations: 14.81 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.007106, allocations: 17.72 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.00715, allocations: 52.58 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007151, allocations: 0 / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.14e-05/0.007223, allocations: 76.38 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.007233, allocations: 7.984 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007237, allocations: 0 / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007248, allocations: 0 / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.007305, allocations: 15.94 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.007309, allocations: 7.938 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.007339, allocations: 4.375 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.007348, allocations: 7.984 kB / 328.6 MB, free: 4.129 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 (10): * Single equations (assignments): 10 * 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.973e-05/0.007408, allocations: 113.4 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.00742, allocations: 11.94 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.007517, allocations: 79.09 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007519, allocations: 0 / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.007522, allocations: 8 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007525, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.007731, allocations: 291.4 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007733, allocations: 0 / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.007764, allocations: 11.98 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.007769, allocations: 4 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.007775, allocations: 0 / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007776, allocations: 0 / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007777, allocations: 4.031 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.007873, allocations: 219 kB / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.007884, allocations: 15.89 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007898, allocations: 0 / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.007938, allocations: 4 kB / 329.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.007966, allocations: 7.984 kB / 329.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.007977, allocations: 4 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.008015, allocations: 44.34 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008015, allocations: 0 / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000144/0.008159, allocations: 27.94 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001226/0.009385, allocations: 0.5827 MB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.009473, allocations: 36.78 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.009477, allocations: 12.06 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.009505, allocations: 20.84 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009678, allocations: 43.59 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.009973, allocations: 227.9 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.01001, allocations: 63.34 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.01005, allocations: 13.28 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.01011, allocations: 71.36 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01011, allocations: 4.062 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of Templates: time 0.003396/0.01351, allocations: 2.005 MB / 332.5 MB, free: 448 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.0700806910172105]