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.001576/0.001576, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001921/0.001921, allocations: 210 kB / 24.48 MB, free: 3.938 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.527/1.527, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2344/0.2344, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.002271/0.002271, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3769, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00348/0.3804, allocations: 1.82 MB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3821, allocations: 0.9948 MB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.3822, allocations: 0 / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3825, allocations: 67.66 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.3828, allocations: 123.5 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.3833, allocations: 206.9 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.3836, allocations: 203.4 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3837, allocations: 17.73 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3839, allocations: 95.61 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.384, allocations: 107.6 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3841, allocations: 16 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.3842, allocations: 39.98 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.3843, allocations: 35.91 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.3843, allocations: 67.58 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.3846, allocations: 189.7 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3846, allocations: 0 / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3846, allocations: 0 / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3847, allocations: 0 / 0.5657 GB, free: 212 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.001125/0.3858, allocations: 0.5121 MB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3858, allocations: 12.03 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.3859, allocations: 16.84 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3861, allocations: 178.1 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3862, allocations: 8.359 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.3862, allocations: 12.12 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.3867, allocations: 149.5 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3867, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3867, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3867, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.3874, allocations: 167.8 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.3882, allocations: 348.2 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.3889, allocations: 194.4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3893, allocations: 96.75 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3893, allocations: 0 / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/0.3899, allocations: 171.1 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3899, allocations: 112 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003485/0.3934, allocations: 0.8436 MB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.3935, allocations: 55.41 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.3937, allocations: 256 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.3938, allocations: 29.7 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.3939, allocations: 120.1 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.3939, allocations: 43.69 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.394, allocations: 33.7 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3942, allocations: 334.8 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.3949, allocations: 227.2 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.3956, allocations: 235.1 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3968, allocations: 378.5 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3968, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001455/0.3982, allocations: 0.5194 MB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.3983, allocations: 63.39 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3983, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3983, allocations: 4 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3987, allocations: 71.84 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3987, allocations: 0 / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3991, allocations: 71.78 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3992, allocations: 8 kB / 0.5707 GB, free: 10.85 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.0001511/0.3993, allocations: 137.8 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.3993, allocations: 15.91 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4008, allocations: 422.6 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4008, allocations: 4 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4008, allocations: 0 / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4008, allocations: 12.48 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.4025, allocations: 0.6308 MB / 0.5719 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4025, allocations: 0 / 0.5719 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.4029, allocations: 79.84 kB / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4029, allocations: 0 / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4029, allocations: 4 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4029, allocations: 11.86 kB / 0.5719 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4029, allocations: 0 / 0.5719 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.4043, allocations: 495 kB / 0.5724 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.4043, allocations: 11.91 kB / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.4043, allocations: 4 kB / 0.5724 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.4047, allocations: 71.83 kB / 0.5725 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4049, allocations: 43.94 kB / 0.5725 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4049, allocations: 7.984 kB / 0.5726 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.4051, allocations: 177.8 kB / 0.5727 GB, free: 8.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 0.5727 GB, free: 8.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.4054, allocations: 55.95 kB / 0.5728 GB, free: 8.625 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.001623/0.407, allocations: 434.3 kB / 0.5732 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.4086, allocations: 0.5289 MB / 0.5737 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4086, allocations: 0 / 0.5737 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.4093, allocations: 179.7 kB / 0.5739 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.4097, allocations: 32.64 kB / 0.5739 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4107, allocations: 392.5 kB / 0.5743 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4108, allocations: 119.2 kB / 0.5744 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4109, allocations: 27.42 kB / 0.5744 GB, free: 7.035 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4109, allocations: 3.938 kB / 0.5744 GB, free: 7.031 MB / 414.1 MB Notification: Performance of Templates: time 0.005953/0.4169, allocations: 3.364 MB / 0.5777 GB, free: 3.672 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/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.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.15808160501183]