Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001025/0.001025, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.000957/0.000957, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9819/0.9819, allocations: 177.1 MB / 205 MB, free: 5.633 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.2386/0.2386, allocations: 32.8 MB / 294.3 MB, free: 1.27 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.073e-05, allocations: 6.25 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002877/0.002898, allocations: 1.766 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.00452, allocations: 1.001 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.004594, allocations: 7.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.00489, allocations: 43.77 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.005221, allocations: 103.4 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.00542, allocations: 71.67 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.00561, allocations: 115.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.005698, allocations: 4 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005803, allocations: 51.84 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.005884, allocations: 31.89 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.005902, allocations: 8 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.006, allocations: 47.86 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.006057, allocations: 19.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.006105, allocations: 27.86 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.006314, allocations: 95.66 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006317, allocations: 3.984 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006318, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006323, allocations: 0 / 379.5 MB, free: 1.148 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.0005492/0.006872, allocations: 451.8 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.006911, allocations: 12.02 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.00697, allocations: 12.89 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007183, allocations: 168.8 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.007204, allocations: 4.312 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.007228, allocations: 8.375 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.007378, allocations: 62.94 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.007391, allocations: 3.938 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.007401, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007409, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.007456, allocations: 11.98 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.007814, allocations: 283.8 kB / 380.5 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.007959, allocations: 55.16 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.008002, allocations: 23.62 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.008013, allocations: 0 / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.008132, allocations: 69.03 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.008133, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004911/0.008625, allocations: 157.3 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.008664, allocations: 55.41 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.008861, allocations: 241.8 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.008877, allocations: 25.7 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.00895, allocations: 162.8 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.008985, allocations: 27.78 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.009027, allocations: 27.36 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.009175, allocations: 0.5001 MB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.009214, allocations: 8 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.009268, allocations: 35.36 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.009355, allocations: 51.3 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009356, allocations: 0 / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001653/0.009522, allocations: 89.58 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.009536, allocations: 8.031 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00954, allocations: 384 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.009554, allocations: 4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.009652, allocations: 19.92 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.00966, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.009706, allocations: 7.953 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.009713, allocations: 0 / 382 MB, free: 14.37 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 9.779e-05/0.009811, allocations: 167.8 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.009839, allocations: 11.95 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.01006, allocations: 111.2 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01006, allocations: 7.938 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01006, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01007, allocations: 3.984 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.01049, allocations: 400.9 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01049, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.01054, allocations: 8 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01054, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01055, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01055, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01056, allocations: 3.984 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.01078, allocations: 263.5 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.0108, allocations: 11.91 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.01083, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.0109, allocations: 0 / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.01095, allocations: 15.92 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.01096, allocations: 7.938 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01108, allocations: 180.1 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01108, allocations: 0 / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.01138, allocations: 27.94 kB / 383.2 MB, free: 13.09 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.001447/0.01283, allocations: 436 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.013, allocations: 51.59 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.013, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.01307, allocations: 39.59 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01343, allocations: 31.97 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.01387, allocations: 225.9 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.01393, allocations: 67.34 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.023e-05/0.01398, allocations: 21.39 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.01402, allocations: 16.5 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01402, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.005158/0.01918, allocations: 2.003 MB / 386.1 MB, free: 10.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.0546147217974067]