Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001017/0.001017, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001375/0.001375, allocations: 169.4 kB / 24.84 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9447/0.9447, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1449/0.1449, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.225e-05, allocations: 9.344 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002217/0.002239, allocations: 1.722 MB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003379, allocations: 0.7842 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.003464, allocations: 0 / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.003775, allocations: 51.69 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.003994, allocations: 55.77 kB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.004249, allocations: 87.69 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.004422, allocations: 99.58 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.004506, allocations: 12.22 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.0046, allocations: 47.89 kB / 351.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.004672, allocations: 19.92 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.004691, allocations: 4 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.004787, allocations: 43.92 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.004839, allocations: 31.84 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.004874, allocations: 27.92 kB / 352 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005047, allocations: 95.59 kB / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005049, allocations: 0 / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00505, allocations: 4 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.005054, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.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.0003855/0.00544, allocations: 447.8 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.005473, allocations: 8.031 kB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.005514, allocations: 16.84 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005654, allocations: 149.8 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.005672, allocations: 4.375 kB / 352.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.005688, allocations: 12.31 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.005795, allocations: 54.94 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005806, allocations: 3.938 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.005814, allocations: 4 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005821, allocations: 4 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.005853, allocations: 11.98 kB / 352.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.006131, allocations: 260.4 kB / 353 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.006245, allocations: 55.09 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.006271, allocations: 19.66 kB / 353.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.006283, allocations: 8 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006383, allocations: 64.98 kB / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.006385, allocations: 4 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003585/0.006743, allocations: 125.5 kB / 353.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.00677, allocations: 55.41 kB / 353.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.006883, allocations: 231.9 kB / 353.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006896, allocations: 29.7 kB / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.006948, allocations: 154.8 kB / 353.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.006984, allocations: 23.78 kB / 353.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.007034, allocations: 27.38 kB / 353.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007142, allocations: 0.5117 MB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.007163, allocations: 4 kB / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.007197, allocations: 31.36 kB / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.007254, allocations: 43.36 kB / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007255, allocations: 0 / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/0.007388, allocations: 97.52 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.007404, allocations: 4 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007411, allocations: 0 / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.007428, allocations: 4 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.007515, allocations: 16.03 kB / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007522, allocations: 3.938 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.007571, allocations: 7.984 kB / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.00758, allocations: 4 kB / 354.5 MB, free: 3.312 MB / 282.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 8.051e-05/0.007661, allocations: 156.6 kB / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.007685, allocations: 23.83 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.007875, allocations: 99.06 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007878, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.007881, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.007885, allocations: 4 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.008204, allocations: 365.5 kB / 355.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.008207, allocations: 384 / 355.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.008246, allocations: 11.98 kB / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.00825, allocations: 4 kB / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.008259, allocations: 4 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008261, allocations: 0 / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.008263, allocations: 0 / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.008422, allocations: 251.4 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.008439, allocations: 15.91 kB / 355.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.008457, allocations: 4.031 kB / 355.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.008529, allocations: 7.984 kB / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.008555, allocations: 4 kB / 355.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.00857, allocations: 7.984 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.008632, allocations: 163.8 kB / 355.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008632, allocations: 3.938 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.008951, allocations: 23.94 kB / 355.7 MB, free: 2.105 MB / 282.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.001214/0.01016, allocations: 437.8 kB / 356.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01027, allocations: 55.53 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01027, allocations: 0 / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.01031, allocations: 31.67 kB / 356.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.01062, allocations: 31.81 kB / 356.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.01095, allocations: 221 kB / 356.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.01098, allocations: 67.34 kB / 356.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01103, allocations: 12.61 kB / 356.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.0111, allocations: 98.12 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0111, allocations: 0 / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.004488/0.01559, allocations: 2.035 MB / 358.6 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.3108838186599314]