Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.002743/0.002743, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003331/0.003331, allocations: 165.6 kB / 24.27 MB, free: 152 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 1.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3614/0.3614, allocations: 34.27 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.655e-05, allocations: 9.125 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00342/0.003447, allocations: 1.809 MB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.00559, allocations: 1.076 MB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.005665, allocations: 3.938 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.006254, allocations: 311.2 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.006788, allocations: 263 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.007072, allocations: 111.6 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.007441, allocations: 271.2 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.007484, allocations: 5.812 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.007728, allocations: 155.6 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.008037, allocations: 207.6 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.008074, allocations: 8 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.008196, allocations: 47.92 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.00837, allocations: 135.6 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.008492, allocations: 83.58 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.008969, allocations: 350.8 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.008973, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.008974, allocations: 4 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.008981, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001223/0.0102, allocations: 0.8055 MB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01024, allocations: 12.03 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.01035, allocations: 56.56 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.01094, allocations: 344.6 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.01095, allocations: 4.375 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.01097, allocations: 4.375 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.0112, allocations: 93.52 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01122, allocations: 3.938 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.01123, allocations: 0 / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.01123, allocations: 4 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.01134, allocations: 23.98 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.01182, allocations: 356.2 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.01212, allocations: 114.2 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.01222, allocations: 43.36 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01224, allocations: 0 / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.01247, allocations: 124.3 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.01247, allocations: 0 / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000527/0.013, allocations: 205.1 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.01306, allocations: 81.09 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.0141, allocations: 0.7761 MB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01413, allocations: 25.7 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.01443, allocations: 326.8 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.01448, allocations: 31.84 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.01455, allocations: 35.38 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003695/0.01492, allocations: 0.5821 MB / 386.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.015, allocations: 23.98 kB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01511, allocations: 71.16 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.0153, allocations: 94.73 kB / 386.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0153, allocations: 0 / 386.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003268/0.01563, allocations: 173.2 kB / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01565, allocations: 10.19 kB / 386.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.01565, allocations: 8 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01567, allocations: 0 / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.0158, allocations: 23.98 kB / 386.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01581, allocations: 3.938 kB / 386.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01591, allocations: 15.89 kB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01593, allocations: 7.984 kB / 386.6 MB, free: 9.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001708/0.0161, allocations: 173.2 kB / 386.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.01618, allocations: 55.67 kB / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.01657, allocations: 185.8 kB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01658, allocations: 0 / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01658, allocations: 4 kB / 387 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01658, allocations: 256 / 387 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.01703, allocations: 364.4 kB / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01703, allocations: 4 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.01708, allocations: 12 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01708, allocations: 0 / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01709, allocations: 4 kB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.0171, allocations: 3.938 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.0171, allocations: 0 / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.01749, allocations: 231.6 kB / 387.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.01766, allocations: 67.55 kB / 387.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.01771, allocations: 12 kB / 387.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.01779, allocations: 3.938 kB / 387.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.01784, allocations: 11.98 kB / 387.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.01786, allocations: 11.98 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006197/0.01848, allocations: 0.4949 MB / 388.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01848, allocations: 0 / 388.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.01877, allocations: 44 kB / 388.3 MB, free: 7.594 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002959/0.02173, allocations: 448.2 kB / 388.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.02204, allocations: 91.59 kB / 388.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.02205, allocations: 0 / 388.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.02217, allocations: 51.66 kB / 388.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.02281, allocations: 79.17 kB / 388.9 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.02402, allocations: 0.6832 MB / 389.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.0243, allocations: 233.7 kB / 389.8 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.0244, allocations: 42.94 kB / 389.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.02448, allocations: 32.5 kB / 389.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02448, allocations: 0 / 389.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of Templates: time 0.009779/0.03426, allocations: 3.999 MB / 393.9 MB, free: 2.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0255901189520955]