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.001292/0.001292, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001452/0.001452, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.429/1.429, allocations: 230.6 MB / 257.5 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.2285/0.2285, allocations: 46.95 MB / 360.9 MB, free: 4.035 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003666/0.3467, allocations: 1.828 MB / 0.5624 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3485, allocations: 0.9909 MB / 0.5634 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.3486, allocations: 4 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3489, allocations: 63.66 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.3493, allocations: 127.4 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.3498, allocations: 203.1 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.3502, allocations: 215.3 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3503, allocations: 15.58 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3504, allocations: 83.69 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3506, allocations: 111.6 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3506, allocations: 12 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3507, allocations: 43.97 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.3508, allocations: 43.78 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.3509, allocations: 59.66 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3513, allocations: 203.2 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3513, allocations: 4 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3513, allocations: 4 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3513, allocations: 0 / 0.5645 GB, free: 240 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.001296/0.3526, allocations: 0.5083 MB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3526, allocations: 8.031 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.234e-05/0.3527, allocations: 42.73 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.3528, allocations: 16.84 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.353, allocations: 183.2 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3531, allocations: 4.375 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.3531, allocations: 7.938 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.3536, allocations: 149.5 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3536, allocations: 0 / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3537, allocations: 8 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3537, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.3544, allocations: 167.7 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.3553, allocations: 379.7 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.3561, allocations: 190.4 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3565, allocations: 96.7 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3565, allocations: 0 / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006457/0.3572, allocations: 171.1 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.3572, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003873/0.361, allocations: 0.8399 MB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3611, allocations: 63.34 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.3614, allocations: 256.9 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3615, allocations: 33.69 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3616, allocations: 136 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.3616, allocations: 35.69 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.3617, allocations: 33.7 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3619, allocations: 330.8 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.3626, allocations: 231.2 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.3634, allocations: 231.2 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3647, allocations: 378.9 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3647, allocations: 112 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001585/0.3663, allocations: 0.5232 MB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.3664, allocations: 63.41 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3664, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3664, allocations: 4 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.3668, allocations: 79.77 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3668, allocations: 0 / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.3672, allocations: 63.91 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3673, allocations: 8 kB / 0.5695 GB, free: 10.78 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.0001544/0.3674, allocations: 133.8 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.3675, allocations: 16.47 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.369, allocations: 430.9 kB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.369, allocations: 3.938 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.369, allocations: 3.984 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.369, allocations: 0 / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3708, allocations: 0.6652 MB / 0.5708 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3708, allocations: 7.922 kB / 0.5708 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.3712, allocations: 79.78 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3712, allocations: 0 / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3712, allocations: 0 / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3712, allocations: 4 kB / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3712, allocations: 0 / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.3727, allocations: 495 kB / 0.5713 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.3728, allocations: 23.8 kB / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.3728, allocations: 4 kB / 0.5713 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.3732, allocations: 67.89 kB / 0.5714 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3734, allocations: 39.94 kB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3734, allocations: 11.98 kB / 0.5715 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3736, allocations: 192.4 kB / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.3739, allocations: 44 kB / 0.5717 GB, free: 8.512 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.003341/0.3772, allocations: 1.357 MB / 0.573 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3788, allocations: 0.5212 MB / 0.5735 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3788, allocations: 0 / 0.5735 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007209/0.3795, allocations: 187 kB / 0.5737 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3799, allocations: 35.95 kB / 0.5737 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/0.3862, allocations: 3.12 MB / 0.5768 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.3863, allocations: 123.3 kB / 0.5769 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3865, allocations: 29.39 kB / 0.5769 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3866, allocations: 59.41 kB / 0.577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3866, allocations: 0 / 0.577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.4204, allocations: 6.785 MB / 0.5836 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 8 kB / 0.5836 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] 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,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,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.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 14.30723408900667]