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.001284/0.001284, allocations: 69.41 kB / 21.24 MB, free: 0.5547 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.001382/0.001382, allocations: 163.4 kB / 24.5 MB, free: 3.711 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.47/1.47, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.2255/0.2255, allocations: 34.28 MB / 295.5 MB, free: 14.55 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.002084/0.002084, allocations: 67.89 kB / 443.2 MB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3677, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003086/0.3708, allocations: 1.829 MB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3722, allocations: 0.9905 MB / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.3722, allocations: 0 / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.3725, allocations: 66.44 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3728, allocations: 123.5 kB / 0.5002 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.3733, allocations: 209.5 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3735, allocations: 198 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3736, allocations: 30.53 kB / 0.5006 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3737, allocations: 84.34 kB / 0.5007 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.3739, allocations: 99 kB / 0.5008 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3739, allocations: 12.28 kB / 0.5008 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.374, allocations: 39.81 kB / 0.5008 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.3741, allocations: 43.95 kB / 0.5009 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.3742, allocations: 61.88 kB / 0.5009 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3744, allocations: 189.9 kB / 0.5011 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3744, allocations: 0 / 0.5011 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3744, allocations: 0 / 0.5011 GB, free: 27.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3744, allocations: 4 kB / 0.5011 GB, free: 27.45 MB / 446.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.0009482/0.3754, allocations: 0.5123 MB / 0.5016 GB, free: 27.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3754, allocations: 9.344 kB / 0.5016 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.3755, allocations: 22.25 kB / 0.5016 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3756, allocations: 175.2 kB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3757, allocations: 3.594 kB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3757, allocations: 18.5 kB / 0.5018 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.3762, allocations: 140.3 kB / 0.502 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3762, allocations: 0 / 0.502 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3762, allocations: 7.188 kB / 0.502 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3762, allocations: 0 / 0.502 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.3769, allocations: 168.1 kB / 0.5021 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.3776, allocations: 348.6 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.3783, allocations: 193.1 kB / 0.5026 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.3787, allocations: 95.12 kB / 0.5027 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3787, allocations: 0 / 0.5027 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005477/0.3793, allocations: 172.9 kB / 0.5029 GB, free: 26.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3793, allocations: 3.938 kB / 0.5029 GB, free: 26.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.003517/0.3828, allocations: 0.8349 MB / 0.5037 GB, free: 26.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3828, allocations: 58.56 kB / 0.5038 GB, free: 26.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.383, allocations: 255.9 kB / 0.504 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.383, allocations: 28.48 kB / 0.5041 GB, free: 25.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.3831, allocations: 123.5 kB / 0.5042 GB, free: 25.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.3831, allocations: 44.55 kB / 0.5042 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.3832, allocations: 41.86 kB / 0.5043 GB, free: 25.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.3833, allocations: 328.2 kB / 0.5046 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.3839, allocations: 224.5 kB / 0.5048 GB, free: 25.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.3846, allocations: 234.7 kB / 0.505 GB, free: 25.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.3858, allocations: 379.7 kB / 0.5054 GB, free: 25.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3858, allocations: 0 / 0.5054 GB, free: 25.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001508/0.3874, allocations: 0.518 MB / 0.5059 GB, free: 24.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.3874, allocations: 61.59 kB / 0.5059 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3874, allocations: 6.891 kB / 0.5059 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3874, allocations: 4 kB / 0.5059 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.3878, allocations: 74.5 kB / 0.506 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3878, allocations: 3.984 kB / 0.506 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.3882, allocations: 77.7 kB / 0.5061 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3883, allocations: 3.156 kB / 0.5061 GB, free: 24.79 MB / 446.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.0001163/0.3884, allocations: 141.2 kB / 0.5062 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3884, allocations: 17.56 kB / 0.5062 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3899, allocations: 418.7 kB / 0.5066 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3899, allocations: 6.453 kB / 0.5066 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3899, allocations: 4 kB / 0.5067 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.3899, allocations: 3.938 kB / 0.5067 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.3914, allocations: 0.6343 MB / 0.5073 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3915, allocations: 4 kB / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.3918, allocations: 66.7 kB / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3918, allocations: 0 / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3918, allocations: 7.422 kB / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3918, allocations: 7.156 kB / 0.5074 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3918, allocations: 3.938 kB / 0.5074 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.3932, allocations: 490.3 kB / 0.5078 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.3932, allocations: 14.91 kB / 0.5078 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3933, allocations: 5.609 kB / 0.5078 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.3937, allocations: 67.36 kB / 0.5079 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3938, allocations: 46.8 kB / 0.508 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3939, allocations: 6.359 kB / 0.508 GB, free: 23.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.394, allocations: 183.2 kB / 0.5081 GB, free: 23.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 4 kB / 0.5081 GB, free: 23.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.3943, allocations: 49.14 kB / 0.5082 GB, free: 23.86 MB / 446.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.001817/0.3961, allocations: 434.1 kB / 0.5086 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.3981, allocations: 0.5182 MB / 0.5091 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3981, allocations: 4 kB / 0.5091 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.3989, allocations: 179.8 kB / 0.5093 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3993, allocations: 38.02 kB / 0.5093 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4004, allocations: 375 kB / 0.5097 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4005, allocations: 124.3 kB / 0.5098 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.4006, allocations: 31.44 kB / 0.5098 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4008, allocations: 23.47 kB / 0.5098 GB, free: 23.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4008, allocations: 0 / 0.5098 GB, free: 23.04 MB / 446.1 MB Notification: Performance of Templates: time 0.009382/0.4101, allocations: 3.862 MB / 0.5136 GB, free: 22.62 MB / 446.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 -s ida -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.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.185096250963397]