Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001777/0.001777, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001895/0.001895, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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.2367/0.2367, allocations: 46.95 MB / 360.9 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 63.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4176, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003737/0.4213, allocations: 1.831 MB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.4234, allocations: 0.9596 MB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.4235, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.4237, allocations: 67.73 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.4241, allocations: 123.4 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.4246, allocations: 163.2 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.425, allocations: 195.4 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4251, allocations: 17.75 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.4252, allocations: 87.67 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.4254, allocations: 103.6 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.4254, allocations: 12 kB / 0.5646 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.4255, allocations: 51.91 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.4257, allocations: 43.84 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.4258, allocations: 55.66 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.4261, allocations: 189.6 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4261, allocations: 3.938 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4261, allocations: 0 / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4261, allocations: 4 kB / 0.5649 GB, free: 296 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.001525/0.4277, allocations: 0.5005 MB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4277, allocations: 8.031 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.4278, allocations: 24.8 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4281, allocations: 170.2 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4282, allocations: 4.375 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.4282, allocations: 20.11 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.4289, allocations: 141.5 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.429, allocations: 0 / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.429, allocations: 0 / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.429, allocations: 4 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4301, allocations: 163.7 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.4307, allocations: 284.4 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4319, allocations: 190.3 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.4324, allocations: 88.75 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.4325, allocations: 11.94 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008135/0.4333, allocations: 163.2 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.4333, allocations: 0 / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.005336/0.4386, allocations: 0.8207 MB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4387, allocations: 59.39 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.4391, allocations: 247.8 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.4392, allocations: 33.7 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4393, allocations: 124.1 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.4394, allocations: 39.69 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.4395, allocations: 33.7 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4397, allocations: 334.8 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4409, allocations: 223.2 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.442, allocations: 223.2 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.444, allocations: 362.7 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.444, allocations: 0 / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001691/0.4457, allocations: 0.5077 MB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.4457, allocations: 63.41 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4458, allocations: 3.984 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4458, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.4463, allocations: 67.91 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4463, allocations: 4 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.4469, allocations: 67.84 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4469, allocations: 11.98 kB / 0.5697 GB, free: 11.09 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.0002224/0.4471, allocations: 141.9 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.4472, allocations: 23.8 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4492, allocations: 403.2 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4493, allocations: 0 / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4493, allocations: 0 / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4493, allocations: 11.92 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.4514, allocations: 0.6189 MB / 0.5709 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4514, allocations: 0 / 0.5709 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.4518, allocations: 67.84 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4518, allocations: 4 kB / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4518, allocations: 8 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4518, allocations: 3.938 kB / 0.5709 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4518, allocations: 0 / 0.5709 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.4533, allocations: 490.7 kB / 0.5714 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.4533, allocations: 11.91 kB / 0.5714 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.4534, allocations: 7.984 kB / 0.5714 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.4538, allocations: 67.84 kB / 0.5715 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.454, allocations: 47.92 kB / 0.5715 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.454, allocations: 8 kB / 0.5715 GB, free: 9.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4542, allocations: 180.6 kB / 0.5717 GB, free: 8.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4542, allocations: 0 / 0.5717 GB, free: 8.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.4545, allocations: 40 kB / 0.5718 GB, free: 8.918 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.001638/0.4562, allocations: 440.8 kB / 0.5722 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4578, allocations: 0.5095 MB / 0.5727 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4578, allocations: 4 kB / 0.5727 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.4586, allocations: 175.8 kB / 0.5728 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4589, allocations: 35.28 kB / 0.5729 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.4599, allocations: 366.6 kB / 0.5732 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4601, allocations: 115.2 kB / 0.5733 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.4602, allocations: 25.41 kB / 0.5734 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.4602, allocations: 15.44 kB / 0.5734 GB, free: 7.352 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4602, allocations: 0 / 0.5734 GB, free: 7.352 MB / 414.1 MB Notification: Performance of Templates: time 0.008336/0.4686, allocations: 3.988 MB / 0.5773 GB, free: 3.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.513091118074954]