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.002025/0.002025, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00246/0.00246, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.607/1.607, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2622/0.2622, allocations: 46.97 MB / 360.9 MB, free: 4.039 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.002198/0.002198, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003771/0.3227, allocations: 1.823 MB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3246, allocations: 0.9948 MB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.3247, allocations: 0 / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.325, allocations: 63.66 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.3254, allocations: 119.4 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.326, allocations: 219 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3264, allocations: 203.3 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3265, allocations: 19.56 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3267, allocations: 87.69 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3268, allocations: 99.62 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3269, allocations: 12 kB / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.327, allocations: 43.98 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.3271, allocations: 47.83 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.3272, allocations: 67.58 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.3275, allocations: 191.2 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3275, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.3275, allocations: 4 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3275, 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.0012/0.3287, allocations: 0.5161 MB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3288, allocations: 12.03 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.3288, allocations: 34.73 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.3289, allocations: 16.84 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3292, allocations: 183.2 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3292, allocations: 8.375 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3292, allocations: 7.938 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.3298, allocations: 153.5 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3298, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3298, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3298, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.3305, allocations: 167.8 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.3315, allocations: 379.6 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.3323, allocations: 194.4 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.3327, allocations: 88.77 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3327, allocations: 3.984 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/0.3333, allocations: 171.1 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3333, allocations: 3.938 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004029/0.3373, allocations: 0.8362 MB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3374, allocations: 59.5 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.3378, allocations: 256.9 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.3378, allocations: 33.7 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.338, allocations: 128.1 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.338, allocations: 39.69 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3381, allocations: 33.7 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3383, allocations: 330.8 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.3392, allocations: 231.2 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.3399, allocations: 235.1 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.3413, allocations: 382.1 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3413, allocations: 112 / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001738/0.3431, allocations: 0.5232 MB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.3431, allocations: 59.41 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3431, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.3432, allocations: 3.984 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.3436, allocations: 79.78 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3436, allocations: 4 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.344, allocations: 63.91 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3441, allocations: 4 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.0001592/0.3442, allocations: 141.8 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.3443, allocations: 19.91 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.3459, allocations: 426.4 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3459, allocations: 7.938 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3459, allocations: 0 / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3459, allocations: 3.984 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.3478, allocations: 0.6652 MB / 0.5708 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3478, allocations: 0 / 0.5708 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.3482, allocations: 71.78 kB / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3482, allocations: 4.562 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3483, allocations: 8 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3483, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3483, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.3498, allocations: 487 kB / 0.5713 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.3499, allocations: 27.8 kB / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3499, allocations: 11.92 kB / 0.5713 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.3503, allocations: 63.91 kB / 0.5714 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.3505, allocations: 47.92 kB / 0.5714 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3505, allocations: 8 kB / 0.5715 GB, free: 8.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.3507, allocations: 184.5 kB / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3507, allocations: 0 / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.3511, allocations: 47.98 kB / 0.5717 GB, free: 8.508 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.00344/0.3545, allocations: 1.352 MB / 0.573 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.3562, allocations: 0.5212 MB / 0.5735 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3562, allocations: 0 / 0.5735 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.357, allocations: 183.7 kB / 0.5737 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3574, allocations: 40.58 kB / 0.5737 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.3641, 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.00015/0.3643, allocations: 123.3 kB / 0.5769 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.3645, allocations: 33.39 kB / 0.5769 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3646, allocations: 55.41 kB / 0.577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3646, allocations: 0 / 0.577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.4, allocations: 6.741 MB / 0.5836 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.2, allocations: 3.938 kB / 0.5836 GB, free: 12.37 MB / 430.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! " [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:time,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 15.499395076185465]