Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 205.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.598/1.598, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3589/0.3589, allocations: 46.95 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 83.88 kB / 0.4967 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4376, allocations: 66.08 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003697/0.4413, allocations: 1.817 MB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4435, allocations: 0.963 MB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.4436, allocations: 7.938 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.4439, allocations: 59.73 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.4444, allocations: 131.4 kB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.4449, allocations: 149.1 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.4453, allocations: 199.4 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4454, allocations: 21.73 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4456, allocations: 87.67 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.4457, allocations: 95.62 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.4458, allocations: 16 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4459, allocations: 43.98 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.446, allocations: 47.78 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.4461, allocations: 59.64 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.4464, allocations: 185.7 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4464, allocations: 0 / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4465, allocations: 4 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4465, allocations: 4 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001198/0.4477, allocations: 0.4967 MB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4477, allocations: 12.03 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.4478, allocations: 20.8 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4481, allocations: 174.2 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4481, allocations: 4.375 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4481, allocations: 12.36 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.4487, allocations: 145.8 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.4487, allocations: 0 / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4487, allocations: 4 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4487, allocations: 0 / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.4495, allocations: 167.7 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.4501, allocations: 284.3 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.4509, allocations: 186.4 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.4513, allocations: 96.75 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.4513, allocations: 4 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/0.4519, allocations: 167.3 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.4519, allocations: 0 / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00368/0.4556, allocations: 0.821 MB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.4557, allocations: 55.5 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.456, allocations: 252.2 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.4561, allocations: 25.7 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4562, allocations: 128.1 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.4562, allocations: 39.62 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.4563, allocations: 37.7 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4565, allocations: 338.8 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.4572, allocations: 219.2 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.4579, allocations: 223.2 kB / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.4592, allocations: 365.8 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4592, allocations: 0 / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001575/0.4608, allocations: 0.5094 MB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.4609, allocations: 55.41 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4609, allocations: 0 / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4609, allocations: 4 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.4613, allocations: 79.83 kB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4613, allocations: 0 / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.4617, allocations: 63.91 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4618, allocations: 4 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.000179/0.4619, allocations: 137.7 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.462, allocations: 27.86 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.4636, allocations: 406.3 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4636, allocations: 7.938 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4636, allocations: 0 / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4636, allocations: 0 / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.4656, allocations: 0.6344 MB / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4656, allocations: 0 / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.466, allocations: 67.84 kB / 0.571 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.466, allocations: 0 / 0.571 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.466, allocations: 4 kB / 0.571 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.466, allocations: 0 / 0.571 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.466, allocations: 3.938 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.4676, allocations: 483 kB / 0.5715 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.4676, allocations: 11.91 kB / 0.5715 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.4677, allocations: 8 kB / 0.5715 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.4681, allocations: 67.89 kB / 0.5716 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4682, allocations: 47.88 kB / 0.5716 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.4683, allocations: 11.97 kB / 0.5716 GB, free: 8.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.4685, allocations: 184.6 kB / 0.5718 GB, free: 8.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4685, allocations: 3.938 kB / 0.5718 GB, free: 8.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.4688, allocations: 40 kB / 0.5718 GB, free: 8.684 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00172/0.4705, allocations: 441.1 kB / 0.5723 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.4723, allocations: 0.5056 MB / 0.5728 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4723, allocations: 0 / 0.5728 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.4731, allocations: 175.8 kB / 0.5729 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4735, allocations: 32.64 kB / 0.573 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4747, allocations: 370.6 kB / 0.5733 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.4749, allocations: 115.2 kB / 0.5734 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.475, allocations: 21.42 kB / 0.5734 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.4751, allocations: 19.44 kB / 0.5735 GB, free: 7.09 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4751, allocations: 0 / 0.5735 GB, free: 7.09 MB / 414.1 MB Notification: Performance of Templates: time 0.009717/0.4848, allocations: 3.97 MB / 0.5773 GB, free: 3.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.80145800858736]