Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001281/0.001281, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001495/0.001495, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 63.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3988, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003092/0.4019, allocations: 1.666 MB / 0.5587 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4029, allocations: 0.5737 MB / 0.5592 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.403, allocations: 4 kB / 0.5592 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.4036, allocations: 451.1 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.404, allocations: 291.3 kB / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.4043, allocations: 131.1 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.4045, allocations: 167.6 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.4046, allocations: 17.8 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4048, allocations: 111.7 kB / 0.5603 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.405, allocations: 255.5 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4051, allocations: 3.938 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.4051, allocations: 35.98 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.4052, allocations: 79.69 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.4053, allocations: 107 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.4057, allocations: 262.6 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4057, allocations: 4 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4057, allocations: 3.938 kB / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4057, allocations: 0 / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007596/0.4064, allocations: 0.5854 MB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4065, allocations: 12.03 kB / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.4065, allocations: 34.75 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.4066, allocations: 48.61 kB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.4068, allocations: 246.7 kB / 0.562 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4069, allocations: 4.375 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.4069, allocations: 8.359 kB / 0.562 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.407, allocations: 53.62 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.407, allocations: 0 / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.407, allocations: 4 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.407, allocations: 0 / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4071, allocations: 27.97 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.4076, allocations: 367.6 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4078, allocations: 46.55 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.4078, allocations: 20.94 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4079, allocations: 0 / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4079, allocations: 34.56 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.4079, allocations: 0 / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005755/0.4085, allocations: 228.7 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4085, allocations: 55.41 kB / 0.5628 GB, free: 1.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.4094, allocations: 0.8776 MB / 0.5636 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4094, allocations: 25.7 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.4096, allocations: 224.1 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4096, allocations: 19.84 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.4096, allocations: 17.7 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4098, allocations: 358.8 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.4099, allocations: 23.92 kB / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.41, allocations: 27.92 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4101, allocations: 44.83 kB / 0.5643 GB, free: 84 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4101, allocations: 0 / 0.5643 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.4103, allocations: 117.3 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4103, allocations: 8 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4103, allocations: 0 / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4103, allocations: 0 / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.4104, allocations: 19.92 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4104, allocations: 7.938 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.4105, allocations: 7.922 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.4105, allocations: 4 kB / 0.5645 GB, free: 15.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001889/0.4107, allocations: 213.7 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.4107, allocations: 39.72 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.411, allocations: 145.5 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.411, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.411, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.411, allocations: 7.938 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.4116, allocations: 433.5 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4116, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.4116, allocations: 11.98 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4116, allocations: 4 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4116, allocations: 7.938 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4116, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4116, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4119, allocations: 215.1 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.4119, allocations: 43.7 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.412, allocations: 3.938 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.4121, allocations: 8 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.4121, allocations: 3.984 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.4121, allocations: 4 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006419/0.4127, allocations: 0.6589 MB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.413, allocations: 23.94 kB / 0.5663 GB, free: 14.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001882/0.4149, allocations: 1.063 MB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.415, allocations: 43.91 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.415, allocations: 4 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.4151, allocations: 19.98 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4155, allocations: 27.8 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.4192, allocations: 3.24 MB / 0.5705 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.4196, allocations: 0.826 MB / 0.5714 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.178e-05/0.4197, allocations: 8 kB / 0.5714 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4198, allocations: 103.4 kB / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4198, allocations: 4 kB / 0.5715 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.4517, allocations: 6.227 MB / 0.5775 GB, free: 2.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 7.969 kB / 0.5776 GB, free: 2.547 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.228528270003153]