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.001351/0.001351, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001472/0.001472, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2354/0.2354, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.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.002097/0.002097, allocations: 71.88 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3683, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003402/0.3717, allocations: 1.815 MB / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3737, allocations: 0.9986 MB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.3738, allocations: 4 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3741, allocations: 63.72 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.3745, allocations: 115.4 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.375, allocations: 219.2 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.3753, allocations: 207.3 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3754, allocations: 13.75 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3756, allocations: 83.73 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3758, allocations: 107.6 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3758, allocations: 12 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3759, allocations: 39.98 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.376, allocations: 43.84 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.3761, allocations: 55.7 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.3764, allocations: 201.6 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3764, allocations: 0 / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3764, allocations: 0 / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3764, allocations: 0 / 0.565 GB, free: 196 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.001175/0.3776, allocations: 0.5082 MB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3776, allocations: 8.031 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.3777, allocations: 24.78 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.378, allocations: 182.2 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.378, allocations: 4.375 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.378, allocations: 12.12 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.3786, allocations: 141.5 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3786, allocations: 4 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3786, allocations: 3.984 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3786, allocations: 4 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.3793, allocations: 159.8 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.3802, allocations: 356.2 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.3811, allocations: 194.3 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.3815, allocations: 92.75 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3815, allocations: 3.984 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.3822, allocations: 171.2 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3822, allocations: 0 / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003855/0.386, allocations: 0.8361 MB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3861, allocations: 51.41 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.3864, allocations: 256 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.3864, allocations: 37.7 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3865, allocations: 120.1 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.3866, allocations: 39.69 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.3867, allocations: 33.7 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3869, allocations: 334.8 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.3877, allocations: 227.2 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/0.3884, allocations: 235.2 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.3898, allocations: 371.1 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3898, allocations: 3.938 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001666/0.3915, allocations: 0.5233 MB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.3916, allocations: 67.39 kB / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3916, allocations: 0 / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3916, allocations: 0 / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.392, allocations: 71.84 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.392, allocations: 0 / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.3924, allocations: 75.78 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3925, allocations: 8 kB / 0.5699 GB, free: 10.84 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.0001582/0.3926, allocations: 137.8 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.3926, allocations: 15.91 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.3943, allocations: 426.5 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3943, allocations: 0 / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3943, allocations: 0 / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3943, allocations: 7.922 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3962, allocations: 0.6425 MB / 0.5711 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3962, allocations: 4 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.3966, allocations: 67.91 kB / 0.5712 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3966, allocations: 0 / 0.5712 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3966, allocations: 3.984 kB / 0.5712 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3966, allocations: 3.938 kB / 0.5712 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3966, allocations: 0 / 0.5712 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3982, allocations: 499 kB / 0.5717 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3982, allocations: 11.91 kB / 0.5717 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.3982, allocations: 3.984 kB / 0.5717 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.3987, allocations: 67.84 kB / 0.5717 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3988, allocations: 51.92 kB / 0.5718 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3988, allocations: 8 kB / 0.5718 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.399, allocations: 181.8 kB / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 0 / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.3994, allocations: 43.95 kB / 0.572 GB, free: 8.621 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.001689/0.4011, allocations: 439.6 kB / 0.5724 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.4028, allocations: 0.529 MB / 0.573 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4028, allocations: 3.938 kB / 0.573 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.4035, allocations: 183.7 kB / 0.5731 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4039, allocations: 40.62 kB / 0.5732 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4049, allocations: 366.8 kB / 0.5735 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.405, allocations: 119.2 kB / 0.5736 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.4052, allocations: 25.42 kB / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.4053, allocations: 27.42 kB / 0.5737 GB, free: 7.008 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4053, allocations: 0 / 0.5737 GB, free: 7.008 MB / 414.1 MB Notification: Performance of Templates: time 0.008374/0.4136, allocations: 3.999 MB / 0.5776 GB, free: 3.062 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.295314522460103]