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.001414/0.001414, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001521/0.001521, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.002357/0.002357, allocations: 67.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3629, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003375/0.3663, allocations: 1.815 MB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.368, allocations: 0.9713 MB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.3681, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3683, allocations: 67.72 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3687, allocations: 115.4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3691, allocations: 167.3 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.3694, allocations: 199.4 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3695, allocations: 13.73 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3697, allocations: 87.67 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3699, allocations: 95.64 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.3699, allocations: 12 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.37, allocations: 55.92 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.3701, allocations: 39.83 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.3702, allocations: 59.66 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3705, allocations: 197.6 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3705, allocations: 0 / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3705, allocations: 0 / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3705, allocations: 0 / 0.5649 GB, free: 300 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.001171/0.3717, allocations: 0.5005 MB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3717, allocations: 12.02 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.3718, allocations: 20.8 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3721, allocations: 170.2 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3721, allocations: 4.375 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3721, allocations: 8.125 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.3726, allocations: 149.5 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3726, allocations: 0 / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3727, allocations: 0 / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3727, allocations: 3.984 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.3734, allocations: 163.8 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.3739, allocations: 284.3 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.3747, allocations: 194.3 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.3751, allocations: 84.77 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3751, allocations: 0 / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.3757, allocations: 179.1 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.997e-06/0.3757, allocations: 3.984 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00385/0.3795, allocations: 0.8246 MB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3796, allocations: 55.39 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3799, allocations: 247.8 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3799, allocations: 33.7 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.38, allocations: 128.1 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.3801, allocations: 39.69 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.3802, allocations: 33.7 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3804, allocations: 330.8 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.3811, allocations: 223.2 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.3819, allocations: 223.2 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3833, allocations: 367.9 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3833, allocations: 0 / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001607/0.3849, allocations: 0.5061 MB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.385, allocations: 63.39 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.385, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.385, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.3855, allocations: 67.91 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3855, allocations: 0 / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.3859, allocations: 71.84 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3859, allocations: 7.984 kB / 0.5697 GB, free: 11.1 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.0001525/0.3861, allocations: 133.8 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.3861, allocations: 19.86 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.3877, allocations: 406.6 kB / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3877, allocations: 4 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3877, allocations: 0.6719 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3877, allocations: 7.875 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.3895, allocations: 0.6223 MB / 0.5709 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3895, allocations: 0 / 0.5709 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.3899, allocations: 71.91 kB / 0.5709 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.3899, allocations: 0 / 0.5709 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.39, allocations: 7.922 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.39, allocations: 11.94 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.39, allocations: 0 / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.3916, allocations: 491 kB / 0.5714 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.3916, allocations: 11.91 kB / 0.5714 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.3917, allocations: 4 kB / 0.5714 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.3921, allocations: 63.84 kB / 0.5715 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3922, allocations: 51.92 kB / 0.5715 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3923, allocations: 4 kB / 0.5715 GB, free: 9.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.3925, allocations: 184.6 kB / 0.5717 GB, free: 8.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3925, allocations: 0 / 0.5717 GB, free: 8.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.3928, allocations: 47.98 kB / 0.5718 GB, free: 8.914 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.001737/0.3945, allocations: 428.9 kB / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3962, allocations: 0.5095 MB / 0.5727 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3962, allocations: 0 / 0.5727 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007595/0.397, allocations: 175.7 kB / 0.5728 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3974, allocations: 39.61 kB / 0.5729 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3984, allocations: 366.6 kB / 0.5732 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.3985, allocations: 119.2 kB / 0.5733 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.3986, allocations: 17.42 kB / 0.5733 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.3987, allocations: 23.42 kB / 0.5734 GB, free: 7.355 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3987, allocations: 0 / 0.5734 GB, free: 7.355 MB / 414.1 MB Notification: Performance of Templates: time 0.008548/0.4073, allocations: 3.965 MB / 0.5772 GB, free: 3.445 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.454143626615405]