Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001413/0.001413, 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.00171/0.00171, allocations: 170 kB / 24.91 MB, free: 8.695 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.9689/0.9689, 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.2411/0.2411, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.193e-05, allocations: 3.156 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002146/0.002168, allocations: 1.84 MB / 325.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003403, allocations: 1.083 MB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.003474, allocations: 7.938 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.003882, allocations: 307.1 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.00423, allocations: 263 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.004397, allocations: 107.6 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.004625, allocations: 275.2 kB / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.004666, allocations: 10.45 kB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.004806, allocations: 151.6 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.004957, allocations: 176.4 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.004975, allocations: 8 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.00505, allocations: 55.91 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.005144, allocations: 139.5 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.005203, allocations: 79.64 kB / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.005437, allocations: 279 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00544, allocations: 0 / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00544, allocations: 3.938 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005445, allocations: 0 / 328 MB, free: 4.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004994/0.005945, allocations: 0.6353 MB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.005972, allocations: 11.97 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.006013, allocations: 32.89 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.006252, allocations: 305.9 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.006266, allocations: 4.359 kB / 329 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.006276, allocations: 4.375 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.00639, allocations: 91.39 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.006397, allocations: 7.938 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.006405, allocations: 7.984 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.006409, allocations: 0 / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.00644, allocations: 25.62 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.006551, allocations: 118.3 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006654, allocations: 82.8 kB / 329.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.006681, allocations: 29.7 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.006691, allocations: 0 / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.836e-05/0.006789, allocations: 99.83 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.00679, allocations: 0 / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001399/0.00693, allocations: 107.2 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.006964, allocations: 85.03 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.007321, allocations: 0.6063 MB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.007336, allocations: 29.7 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.00739, allocations: 149.3 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.007422, allocations: 31.73 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.007453, allocations: 25.7 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.007542, allocations: 370.7 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.007564, allocations: 14.81 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.007594, allocations: 39.42 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.007651, allocations: 71.81 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007653, allocations: 0 / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.572e-05/0.007749, allocations: 111.8 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.007759, allocations: 4 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007765, allocations: 8 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.007776, allocations: 0 / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.007836, allocations: 27.92 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007838, allocations: 0 / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.007881, allocations: 11.94 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.007887, allocations: 64 / 331.1 MB, free: 1.531 MB / 298.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 7.726e-05/0.007964, allocations: 129.2 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.007991, allocations: 31.95 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.008117, allocations: 121.9 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008119, allocations: 0 / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.008122, allocations: 3.938 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.008126, allocations: 4 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.008255, allocations: 165.6 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008256, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.008277, allocations: 11.98 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008279, allocations: 4 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.008286, allocations: 8 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008288, allocations: 0 / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008289, allocations: 0 / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.008396, allocations: 142.8 kB / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.00844, allocations: 51.66 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.008464, allocations: 4 kB / 331.8 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.0085, allocations: 4 kB / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.008526, allocations: 11.98 kB / 331.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.008539, allocations: 12.05 kB / 331.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.00875, allocations: 315.2 kB / 332.1 MB, free: 484 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00875, allocations: 4 kB / 332.1 MB, free: 480 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.008891, allocations: 55.86 kB / 332.2 MB, free: 424 kB / 298.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.001003/0.009895, allocations: 0.5041 MB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.593e-05/0.00999, allocations: 52.78 kB / 332.8 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.009997, allocations: 4 kB / 332.8 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.01003, allocations: 32.83 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01025, allocations: 88.38 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.01086, allocations: 0.6613 MB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.01093, allocations: 132.2 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.01099, allocations: 38.94 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.01109, allocations: 95.36 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01109, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.005992/0.01708, allocations: 4.31 MB / 338.1 MB, free: 10.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.096971502993256]