Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0009962/0.0009962, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009612/0.0009612, allocations: 164.5 kB / 24.99 MB, free: 8.746 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.9892/0.9892, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2624/0.2624, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.685e-05, allocations: 6.312 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002336/0.002363, allocations: 1.769 MB / 377.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003584, allocations: 1.005 MB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.003668, allocations: 0 / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.003955, allocations: 39.7 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.004252, allocations: 99.47 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.004418, allocations: 75.67 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.004581, allocations: 107.6 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.004679, allocations: 7.984 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.004764, allocations: 59.77 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.004841, allocations: 27.92 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.004857, allocations: 4 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.004939, allocations: 47.91 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.004995, allocations: 23.86 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.00504, allocations: 19.92 kB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.005206, allocations: 95.66 kB / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005209, allocations: 0 / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.00521, allocations: 0 / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005215, allocations: 0 / 379.5 MB, free: 1.516 MB / 346.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.0004675/0.005683, allocations: 443.9 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.005722, allocations: 19.97 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.005778, allocations: 8.891 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.005951, allocations: 152.4 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.005972, allocations: 8.375 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.005992, allocations: 4.312 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006121, allocations: 62.94 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006132, allocations: 3.938 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.006141, allocations: 0 / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006149, allocations: 0 / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.006185, allocations: 11.98 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.006488, allocations: 287.8 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.006599, allocations: 51.17 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.006632, allocations: 23.62 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.006644, allocations: 0 / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.006752, allocations: 72.97 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.006753, allocations: 0 / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004216/0.007175, allocations: 161.5 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.00721, allocations: 51.41 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.007376, allocations: 222.6 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.007394, allocations: 37.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.007464, allocations: 150.9 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.007498, allocations: 27.78 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.007535, allocations: 27.38 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.007708, allocations: 0.4923 MB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.007744, allocations: 16.17 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.007785, allocations: 35.38 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.007855, allocations: 55.23 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007856, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001257/0.007981, allocations: 93.58 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007997, allocations: 4 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.008003, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.008019, allocations: 3.938 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.008105, allocations: 19.98 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.008111, allocations: 0 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.008143, allocations: 8 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.008148, allocations: 0 / 382 MB, free: 14.78 MB / 362.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 7.448e-05/0.008223, allocations: 168.5 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.008241, allocations: 11.95 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.008396, allocations: 107.2 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.0084, allocations: 7.984 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008404, allocations: 3.938 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.008409, allocations: 0 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.00874, allocations: 392.9 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008742, allocations: 0 / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.008775, allocations: 8 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.008779, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.008787, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.00879, allocations: 7.922 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008792, allocations: 4.031 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.008954, allocations: 259.4 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.008974, allocations: 11.91 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.008994, allocations: 4 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.009037, allocations: 0 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.009077, allocations: 11.98 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.009092, allocations: 7.984 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.00917, allocations: 167.8 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00917, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.009351, allocations: 27.92 kB / 383.1 MB, free: 13.51 MB / 362.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.0009891/0.01034, allocations: 437.9 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01047, allocations: 51.59 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01047, allocations: 4 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.01052, allocations: 27.62 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01078, allocations: 27.97 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.01118, allocations: 214.4 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.01122, allocations: 75.33 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.01126, allocations: 13.28 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.0113, allocations: 20.48 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0113, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00379/0.01509, allocations: 1.876 MB / 385.9 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.2216213811188936]