Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00135/0.00135, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001579/0.001579, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.973 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.241/0.241, allocations: 46.94 MB / 360.9 MB, free: 4.25 MB / 286.1 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 71.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.401, allocations: 66.02 MB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003906/0.4049, allocations: 1.882 MB / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4069, allocations: 1.061 MB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.407, allocations: 3.938 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.4073, allocations: 67.66 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.4077, allocations: 119.4 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.4083, allocations: 207.3 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.4087, allocations: 211.3 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4088, allocations: 17.75 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.4089, allocations: 87.73 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4091, allocations: 111.6 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.4091, allocations: 12 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4093, allocations: 43.98 kB / 0.5649 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4094, allocations: 43.83 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.4095, allocations: 71.58 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.4098, allocations: 193.6 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4098, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4098, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4098, allocations: 0 / 0.5652 GB, free: 268 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.001221/0.411, allocations: 0.5122 MB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4111, allocations: 12.03 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4111, allocations: 16.84 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.4114, allocations: 174.2 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4115, allocations: 12.25 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.4115, allocations: 12.12 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.412, allocations: 149.5 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.4121, allocations: 0 / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4121, allocations: 0 / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4121, allocations: 4 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.4128, allocations: 167.8 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.4137, allocations: 403.6 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.4145, allocations: 190.4 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.4149, allocations: 96.75 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.4149, allocations: 0 / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/0.4155, allocations: 167.2 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4155, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003804/0.4194, allocations: 0.8361 MB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.4194, allocations: 63.33 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.4197, allocations: 252 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.4198, allocations: 29.7 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4199, allocations: 124.1 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.4199, allocations: 39.69 kB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.42, allocations: 33.81 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4202, allocations: 330.8 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.4209, allocations: 175.8 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.4216, allocations: 175.8 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4229, allocations: 386.2 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4229, allocations: 0 / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00156/0.4245, allocations: 472.5 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.4245, allocations: 63.39 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4245, allocations: 0 / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4246, allocations: 4 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.425, allocations: 67.91 kB / 0.5699 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.425, allocations: 3.938 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.4254, allocations: 71.78 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.4254, allocations: 8 kB / 0.57 GB, free: 11.05 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.0001722/0.4256, allocations: 133.8 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4256, allocations: 19.91 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.4273, allocations: 418.5 kB / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4273, allocations: 0 / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4273, allocations: 11.92 kB / 0.5706 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4273, allocations: 7.938 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.4292, allocations: 0.6848 MB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4292, allocations: 0 / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.4296, allocations: 71.91 kB / 0.5713 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4296, allocations: 3.938 kB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.4296, allocations: 4 kB / 0.5713 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4296, allocations: 0 / 0.5713 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4296, allocations: 3.938 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4311, allocations: 495 kB / 0.5718 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.4312, allocations: 16.41 kB / 0.5718 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.4312, allocations: 0 / 0.5718 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.4316, allocations: 71.89 kB / 0.5719 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4318, allocations: 47.94 kB / 0.5719 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.4318, allocations: 11.98 kB / 0.5719 GB, free: 8.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.432, allocations: 181.8 kB / 0.5721 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.432, allocations: 7.875 kB / 0.5721 GB, free: 8.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.4324, allocations: 43.95 kB / 0.5722 GB, free: 8.762 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.001672/0.434, allocations: 405.3 kB / 0.5725 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.4357, allocations: 478.3 kB / 0.573 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4357, allocations: 0 / 0.573 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.4364, allocations: 187.7 kB / 0.5732 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.4368, allocations: 40.58 kB / 0.5732 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4379, allocations: 378.7 kB / 0.5736 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4383, allocations: 0.7279 MB / 0.5743 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4384, allocations: 33.39 kB / 0.5743 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.4385, allocations: 15.44 kB / 0.5743 GB, free: 6.609 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4385, allocations: 0 / 0.5743 GB, free: 6.609 MB / 414.1 MB Notification: Performance of Templates: time 0.009015/0.4475, allocations: 3.69 MB / 0.5779 GB, free: 2.934 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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[1],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.n,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.u1[1],t_new.u2[1],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[1],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.734187710797414]