Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.002493/0.002493, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003126/0.003126, allocations: 161.3 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.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3355/0.3355, allocations: 32.8 MB / 293.9 MB, free: 1.219 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.789e-05, allocations: 2.312 kB / 375.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003482/0.00351, allocations: 1.824 MB / 377.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.006713, allocations: 1.77 MB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.006812, allocations: 4 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.007192, allocations: 55.61 kB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.007671, allocations: 151.2 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.007935, allocations: 111.6 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.008267, allocations: 207.2 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.008324, allocations: 9.812 kB / 379.5 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.00853, allocations: 107.7 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.00875, allocations: 67.73 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.008787, allocations: 12 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.009007, allocations: 99.88 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.009107, allocations: 43.83 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.009184, allocations: 39.86 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.009583, allocations: 239.2 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009587, allocations: 0 / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009588, allocations: 0 / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.009593, allocations: 0 / 380.1 MB, free: 192 kB / 346.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.0008322/0.01043, allocations: 0.5184 MB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.01047, allocations: 12.02 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.01056, allocations: 24.84 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.01091, allocations: 188.2 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.01093, allocations: 4.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.01094, allocations: 8.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.01122, allocations: 164.3 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01124, allocations: 3.938 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.01125, allocations: 0 / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.01125, allocations: 0 / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.01136, allocations: 27.98 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.01163, allocations: 196.2 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.01192, allocations: 106.2 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01203, allocations: 47.34 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01205, allocations: 4 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.01228, allocations: 120.3 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.01228, allocations: 3.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004738/0.01275, allocations: 165.4 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.01286, allocations: 132.5 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.01323, allocations: 310.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.01326, allocations: 33.7 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01338, allocations: 170.8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.01343, allocations: 23.86 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.01349, allocations: 43.36 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.01377, allocations: 0.5079 MB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.01385, allocations: 23.92 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.01403, allocations: 141.5 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.01422, allocations: 95.17 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.01422, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002833/0.01451, allocations: 137.5 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01452, allocations: 4 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01453, allocations: 4.031 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01455, allocations: 11.98 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01466, allocations: 23.92 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.01467, allocations: 0 / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.01475, allocations: 15.94 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01476, allocations: 4 kB / 383.3 MB, free: 12.61 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001653/0.01493, allocations: 172.6 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.01498, allocations: 23.86 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.01533, allocations: 154.7 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01534, allocations: 4 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01534, allocations: 4 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.01535, allocations: 3.984 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.01557, allocations: 176.5 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01557, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.01562, allocations: 19.92 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01563, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01564, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.01565, allocations: 3.938 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01565, allocations: 4.25 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.01604, allocations: 195.9 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.01608, allocations: 19.89 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.01612, allocations: 8 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.01619, allocations: 11.92 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.01626, allocations: 11.98 kB / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.01628, allocations: 4 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.01656, allocations: 225.8 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01656, allocations: 0 / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.01689, allocations: 59.8 kB / 384.4 MB, free: 11.46 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.003545/0.02043, allocations: 0.5322 MB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.02073, allocations: 87.59 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02073, allocations: 4.125 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.02085, allocations: 55.59 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.02125, allocations: 70.83 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.02191, allocations: 302.3 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.02203, allocations: 111.5 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.346e-05/0.02213, allocations: 41.94 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.0222, allocations: 28.42 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0222, allocations: 4 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.008261/0.03046, allocations: 3.422 MB / 389 MB, free: 7.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.031384774949402]