Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001871/0.001871, 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.00219/0.00219, allocations: 211.7 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.789 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.2353/0.2353, 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003354/0.3463, allocations: 1.822 MB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.348, allocations: 0.9635 MB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.3481, allocations: 0 / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3483, allocations: 67.72 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.3487, allocations: 123.3 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3491, allocations: 167.3 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3494, allocations: 195.4 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.3495, allocations: 15.58 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3496, allocations: 95.61 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3498, allocations: 87.7 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.3498, allocations: 15.94 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3499, allocations: 51.97 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.35, allocations: 39.84 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.3501, allocations: 59.64 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3504, allocations: 199.2 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3504, allocations: 0 / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3504, allocations: 0 / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3504, allocations: 0 / 0.5644 GB, free: 356 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.001154/0.3516, allocations: 0.5044 MB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3516, allocations: 15.91 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.3516, allocations: 42.73 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.3517, allocations: 16.84 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.352, allocations: 175.3 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.352, allocations: 4.375 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.352, allocations: 15.94 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3525, allocations: 145.5 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3525, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3526, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3526, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.3533, allocations: 167.8 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.3539, allocations: 319.7 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.3547, allocations: 186.4 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.3551, allocations: 84.77 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3551, allocations: 4 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008146/0.3559, allocations: 171.2 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/0.3559, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003828/0.3597, allocations: 0.8246 MB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3598, allocations: 67.27 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3602, allocations: 252.2 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.3603, allocations: 37.64 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3604, allocations: 124.1 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.3604, allocations: 35.69 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.3605, allocations: 33.7 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3607, allocations: 330.8 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/0.3615, allocations: 223.2 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.3622, allocations: 227.2 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3636, allocations: 363.9 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3636, allocations: 0 / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001622/0.3652, allocations: 0.5141 MB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.3652, allocations: 59.41 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3652, allocations: 0 / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3653, allocations: 3.984 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3657, allocations: 83.83 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3657, allocations: 4 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.3662, allocations: 59.91 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3662, allocations: 4 kB / 0.5693 GB, free: 11.03 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.0001574/0.3663, allocations: 133.8 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.3664, allocations: 23.86 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3679, allocations: 402.7 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3679, allocations: 3.938 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3679, allocations: 4 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3679, allocations: 0 / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.3698, allocations: 0.653 MB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3698, allocations: 4 kB / 0.5705 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.3702, allocations: 71.83 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3702, allocations: 4 kB / 0.5706 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3702, allocations: 4 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3702, allocations: 0 / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3702, allocations: 0 / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.3718, allocations: 483 kB / 0.571 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.3718, allocations: 19.84 kB / 0.571 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3719, allocations: 8.547 kB / 0.5711 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.3723, allocations: 75.78 kB / 0.5711 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.3725, allocations: 43.92 kB / 0.5712 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3725, allocations: 4 kB / 0.5712 GB, free: 9.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3727, allocations: 189.6 kB / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 0 / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.373, allocations: 51.86 kB / 0.5714 GB, free: 8.801 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.003453/0.3765, allocations: 1.331 MB / 0.5727 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3782, allocations: 0.5134 MB / 0.5732 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3782, allocations: 4 kB / 0.5732 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.3789, allocations: 171.8 kB / 0.5734 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3793, allocations: 46.19 kB / 0.5734 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006597/0.3859, allocations: 3.062 MB / 0.5764 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.386, allocations: 111.3 kB / 0.5765 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3862, allocations: 17.42 kB / 0.5765 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3863, allocations: 55.42 kB / 0.5766 GB, free: 3.461 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3863, allocations: 0 / 0.5766 GB, free: 3.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.4225, allocations: 6.665 MB / 0.5831 GB, free: 12.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.03, allocations: 4.062 kB / 0.5831 GB, free: 12.87 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 15.189909862820059]