Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.0008889/0.0008889, allocations: 80.8 kB / 21.5 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.001099/0.001099, allocations: 175.5 kB / 24.92 MB, free: 8.766 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.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2434/0.2434, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.707e-05, allocations: 6.312 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002042/0.002059, allocations: 1.697 MB / 325 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003179, allocations: 1.005 MB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.003248, allocations: 0 / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.003536, allocations: 83.64 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.003825, allocations: 115.4 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.003975, allocations: 79.66 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004119, allocations: 115.6 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.004155, allocations: 4.859 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.004239, allocations: 59.81 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.004322, allocations: 47.88 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004336, allocations: 4 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.004398, allocations: 35.92 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.004444, allocations: 19.92 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.004476, allocations: 23.86 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004609, allocations: 95.61 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00461, allocations: 0 / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004611, allocations: 0 / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004614, allocations: 4 kB / 326.7 MB, free: 6.238 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.0003409/0.004955, allocations: 321.4 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.004984, allocations: 8.031 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.00501, allocations: 4.938 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005147, allocations: 161.5 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.005159, allocations: 384 / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.005169, allocations: 4.375 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.00526, allocations: 61.7 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.005266, allocations: 3.938 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.005272, allocations: 0 / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.005276, allocations: 4 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.005295, allocations: 7.938 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.177e-05/0.005377, allocations: 74.69 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005459, allocations: 37.42 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.005478, allocations: 12.86 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005489, allocations: 4 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/0.005561, allocations: 62.16 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.005562, allocations: 0 / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000102/0.005664, allocations: 65.67 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.005698, allocations: 55.34 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.005801, allocations: 185.1 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005815, allocations: 25.7 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.005844, allocations: 100 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.005872, allocations: 19.83 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.005896, allocations: 17.72 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.005983, allocations: 326.8 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.005999, allocations: 10.81 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.00602, allocations: 17.7 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.006063, allocations: 43.34 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006065, allocations: 0 / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.626e-05/0.006131, allocations: 64.44 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.006143, allocations: 4 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006147, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.00616, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.006215, allocations: 11.94 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.00622, allocations: 4 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.006248, allocations: 4 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.006254, allocations: 4 kB / 328.4 MB, free: 4.363 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.231e-05/0.006316, allocations: 121.5 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.006325, allocations: 8 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.006401, allocations: 62.83 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.006404, allocations: 4 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.006407, allocations: 4.312 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.006411, allocations: 3.984 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/0.006482, allocations: 85.86 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006483, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.006496, allocations: 4 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006498, allocations: 7.938 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.006502, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006503, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006503, allocations: 3.938 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.192e-05/0.006565, allocations: 94.69 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.006581, allocations: 19.83 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006595, allocations: 4 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.006614, allocations: 0 / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.006636, allocations: 8 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.006645, allocations: 3.984 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.006697, allocations: 65.48 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006697, allocations: 4 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001104/0.006808, allocations: 16 kB / 328.9 MB, free: 3.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.001051/0.007858, allocations: 0.4999 MB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.635e-05/0.007935, allocations: 28.78 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.007939, allocations: 4 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.007964, allocations: 16.86 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.008086, allocations: 27.97 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.008364, allocations: 222.1 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.008397, allocations: 71.28 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.008424, allocations: 12.47 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.00848, allocations: 67.36 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008481, allocations: 0 / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of Templates: time 0.003137/0.01162, allocations: 1.788 MB / 331.6 MB, free: 1.305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.9421273162588477]