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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001485/0.001485, allocations: 208 kB / 23.73 MB, free: 4.523 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.484/1.484, 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.2365/0.2365, allocations: 46.95 MB / 360.9 MB, free: 4.004 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.002946/0.002946, allocations: 71.89 kB / 0.4961 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3751, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003385/0.3785, allocations: 1.819 MB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3803, allocations: 0.9674 MB / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.3803, allocations: 4 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3806, allocations: 63.66 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.3809, allocations: 123.5 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.3813, allocations: 163.5 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3817, allocations: 203.3 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3818, allocations: 15.58 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3819, allocations: 79.75 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3821, allocations: 107.6 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3821, allocations: 20 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3822, allocations: 47.97 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.3823, allocations: 43.89 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.3824, allocations: 59.66 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.3827, allocations: 195.1 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3827, allocations: 0 / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3827, allocations: 0 / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3828, allocations: 0 / 0.5644 GB, free: 296 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.001105/0.3839, allocations: 0.5122 MB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3839, allocations: 8.031 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3839, allocations: 38.73 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.384, allocations: 20.84 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3842, allocations: 179.2 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3843, allocations: 8.375 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.3843, allocations: 7.938 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.3848, allocations: 141.5 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3848, allocations: 0 / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3848, allocations: 8 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3848, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.3855, allocations: 155.8 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.386, allocations: 323.7 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.3868, allocations: 190.4 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3872, allocations: 88.7 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3872, allocations: 4.109 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.3877, allocations: 171.1 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.3877, allocations: 0 / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003478/0.3912, allocations: 0.8168 MB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3913, allocations: 67.33 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3915, allocations: 252.1 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3916, allocations: 33.7 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.3916, allocations: 124.1 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.3917, allocations: 35.69 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.3918, allocations: 37.7 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3919, allocations: 334.8 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.3927, allocations: 223.2 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.3934, allocations: 219.2 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3947, allocations: 370.5 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3947, allocations: 0 / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001546/0.3962, allocations: 0.5155 MB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.3963, allocations: 55.41 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3963, allocations: 0 / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3963, allocations: 7.984 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.3967, allocations: 75.78 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3967, allocations: 4 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.3971, allocations: 63.91 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3971, allocations: 4 kB / 0.5693 GB, free: 10.98 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.000137/0.3973, allocations: 133.8 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3973, allocations: 24.42 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3988, allocations: 402.7 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3988, allocations: 11.92 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3988, allocations: 0 / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3988, allocations: 3.984 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.4006, allocations: 0.653 MB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4006, allocations: 3.938 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.4009, allocations: 67.84 kB / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4009, allocations: 0 / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.401, allocations: 3.938 kB / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.401, allocations: 7.938 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.401, allocations: 0 / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.4024, allocations: 487 kB / 0.571 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.4025, allocations: 19.84 kB / 0.5711 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.4025, allocations: 3.984 kB / 0.5711 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4029, allocations: 67.91 kB / 0.5711 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.403, allocations: 47.92 kB / 0.5712 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4031, allocations: 4 kB / 0.5712 GB, free: 8.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.4032, allocations: 189.6 kB / 0.5714 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4032, allocations: 0 / 0.5714 GB, free: 8.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4036, allocations: 51.92 kB / 0.5714 GB, free: 8.742 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.003265/0.4068, allocations: 1.339 MB / 0.5727 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.4084, allocations: 0.5165 MB / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4084, allocations: 0 / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.4091, allocations: 171.8 kB / 0.5734 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4095, allocations: 34.27 kB / 0.5734 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.4155, allocations: 3.064 MB / 0.5764 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4156, allocations: 111.3 kB / 0.5765 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.4157, allocations: 25.41 kB / 0.5765 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.4159, allocations: 51.42 kB / 0.5766 GB, free: 3.402 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4159, allocations: 0 / 0.5766 GB, free: 3.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4487, allocations: 6.7 MB / 0.5831 GB, free: 12.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.87, allocations: 0 / 0.5831 GB, free: 12.78 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.09824685100466]