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.001989/0.001989, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002317/0.002317, allocations: 212.8 kB / 23.74 MB, free: 4.656 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2503/0.2503, allocations: 46.95 MB / 360.9 MB, free: 4.238 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.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.002129/0.002129, allocations: 67.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 66.03 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004042/0.3907, allocations: 1.878 MB / 0.563 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3927, allocations: 1.037 MB / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.3928, allocations: 0 / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.393, allocations: 71.72 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.3935, allocations: 115.4 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.394, allocations: 163.1 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.3944, allocations: 199.4 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3945, allocations: 17.73 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3947, allocations: 91.67 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3949, allocations: 99.64 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.3949, allocations: 16 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3951, allocations: 47.98 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3952, allocations: 43.83 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.3953, allocations: 67.59 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3956, allocations: 189.6 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3956, allocations: 0 / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3957, allocations: 3.938 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3957, allocations: 0 / 0.5651 GB, free: 380 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.001194/0.3969, allocations: 0.5066 MB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3969, allocations: 11.97 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.397, allocations: 20.8 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3972, allocations: 170.2 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3972, allocations: 12.38 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3973, allocations: 8.125 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.3978, allocations: 145.5 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3978, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3978, allocations: 3.984 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3978, allocations: 3.938 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.3987, allocations: 167.8 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.3992, allocations: 335.7 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.4, allocations: 186.4 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.4004, allocations: 96.75 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4004, allocations: 4 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.401, allocations: 167.1 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.401, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003648/0.4047, allocations: 0.8168 MB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4047, allocations: 59.33 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.405, allocations: 251.8 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.405, allocations: 29.7 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.4051, allocations: 132.1 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.4052, allocations: 35.69 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.4052, allocations: 33.7 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4054, allocations: 330.8 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.4061, allocations: 167.8 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.4068, allocations: 171.8 kB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.4081, allocations: 359.9 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4081, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001484/0.4096, allocations: 459 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.4096, allocations: 63.39 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4097, allocations: 0 / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4097, allocations: 0 / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.4101, allocations: 75.84 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4101, allocations: 4.5 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4105, allocations: 59.91 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.4105, allocations: 8 kB / 0.5698 GB, free: 11.32 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.0001474/0.4107, allocations: 141.8 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.4107, allocations: 19.86 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.4122, allocations: 406.6 kB / 0.5703 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4122, allocations: 7.938 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4122, allocations: 7.922 kB / 0.5703 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4123, allocations: 0 / 0.5703 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.414, allocations: 0.6769 MB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.414, allocations: 3.938 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.4144, allocations: 67.91 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4144, allocations: 7.938 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4144, allocations: 4 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4144, allocations: 0 / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4144, allocations: 0 / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4159, allocations: 483 kB / 0.5715 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.4159, allocations: 15.84 kB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.416, allocations: 8 kB / 0.5716 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.4164, allocations: 63.89 kB / 0.5716 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4165, allocations: 43.94 kB / 0.5717 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.4165, allocations: 15.92 kB / 0.5717 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.4167, allocations: 184.6 kB / 0.5718 GB, free: 9.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 0.5718 GB, free: 9.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.417, allocations: 44 kB / 0.5719 GB, free: 9.059 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.001613/0.4187, allocations: 397.9 kB / 0.5723 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.4203, allocations: 466.3 kB / 0.5727 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4203, allocations: 3.938 kB / 0.5727 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.421, allocations: 175.7 kB / 0.5729 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4214, allocations: 42.45 kB / 0.5729 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4224, allocations: 370.6 kB / 0.5733 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4228, allocations: 0.7279 MB / 0.574 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.4229, allocations: 13.44 kB / 0.574 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.423, allocations: 27.42 kB / 0.574 GB, free: 6.949 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.423, allocations: 0 / 0.574 GB, free: 6.949 MB / 414.1 MB Notification: Performance of Templates: time 0.008183/0.4312, allocations: 3.649 MB / 0.5776 GB, free: 3.309 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.749678237829357]