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.0014/0.0014, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001412/0.001412, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8 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.2417/0.2417, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.001968/0.001968, allocations: 63.91 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.357, allocations: 66.04 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003356/0.3604, allocations: 1.878 MB / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3623, allocations: 1.037 MB / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3624, allocations: 7.938 kB / 0.5635 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3627, allocations: 63.72 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.3631, allocations: 119.4 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3635, allocations: 159 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.3638, allocations: 199.4 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3639, allocations: 23.56 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3641, allocations: 87.67 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3642, allocations: 103.6 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.3643, allocations: 12 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3644, allocations: 47.97 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.3645, allocations: 47.78 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.3646, allocations: 67.59 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3649, allocations: 191.2 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3649, allocations: 0 / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3649, allocations: 0 / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.3649, allocations: 4 kB / 0.5646 GB, free: 428 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.0011/0.366, allocations: 0.5122 MB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.366, allocations: 8.031 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3661, allocations: 42.69 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.3661, allocations: 20.84 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3664, allocations: 179.3 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3664, allocations: 8.312 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3664, allocations: 7.938 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.3669, allocations: 137.5 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3669, allocations: 0 / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3669, allocations: 4 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3669, allocations: 4 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.3676, allocations: 167.7 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.3681, allocations: 343.7 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.3689, allocations: 186.4 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.3693, allocations: 88.75 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3693, allocations: 7.984 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.3699, allocations: 171.1 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3699, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003602/0.3735, allocations: 0.8168 MB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3736, allocations: 63.34 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3738, allocations: 260 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3739, allocations: 33.7 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.374, allocations: 124.1 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.374, allocations: 35.69 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.3741, allocations: 33.7 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3743, allocations: 330.9 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.3749, allocations: 171.7 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.3756, allocations: 174.3 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.377, allocations: 362.2 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.377, allocations: 4 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001528/0.3785, allocations: 456.5 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.3786, allocations: 61.75 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3786, allocations: 4 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3786, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.379, allocations: 83.77 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.379, allocations: 4 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.3794, allocations: 63.91 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.3794, allocations: 4 kB / 0.5694 GB, free: 11.28 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.0001453/0.3796, allocations: 133.8 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.3796, allocations: 19.86 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.3811, allocations: 402.7 kB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3811, allocations: 3.938 kB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3811, allocations: 4.562 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3811, allocations: 0 / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.3829, allocations: 0.6808 MB / 0.5706 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3829, allocations: 3.938 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.3833, allocations: 71.84 kB / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3833, allocations: 0 / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3833, allocations: 7.938 kB / 0.5707 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3833, allocations: 4 kB / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3833, allocations: 0 / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3848, allocations: 482.5 kB / 0.5711 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3848, allocations: 23.83 kB / 0.5711 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.3848, allocations: 4 kB / 0.5711 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.3852, allocations: 59.91 kB / 0.5712 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3854, allocations: 51.92 kB / 0.5713 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3854, allocations: 11.94 kB / 0.5713 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.3856, allocations: 189.6 kB / 0.5714 GB, free: 9.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 0 / 0.5714 GB, free: 9.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.3859, allocations: 51.88 kB / 0.5715 GB, free: 9.02 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.003194/0.3891, allocations: 1.299 MB / 0.5728 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3906, allocations: 469.9 kB / 0.5732 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3906, allocations: 8 kB / 0.5732 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.3913, allocations: 171.8 kB / 0.5734 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3917, allocations: 43.12 kB / 0.5734 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.3976, allocations: 2.828 MB / 0.5762 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3979, allocations: 0.728 MB / 0.5769 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3981, allocations: 17.42 kB / 0.5769 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3982, allocations: 59.41 kB / 0.577 GB, free: 3.402 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3982, allocations: 3.938 kB / 0.577 GB, free: 3.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4312, allocations: 5.976 MB / 0.5828 GB, free: 13.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.48, allocations: 3.375 kB / 0.5828 GB, free: 13.49 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: 14.732385538001836]