Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001372/0.001372, allocations: 113.1 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.001522/0.001522, allocations: 216.5 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2332/0.2332, allocations: 44.92 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.002064/0.002064, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4189, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004481/0.4233, allocations: 1.701 MB / 0.5587 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.4247, allocations: 0.601 MB / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.4247, allocations: 0 / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.425, allocations: 67.72 kB / 0.5594 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4253, allocations: 91.66 kB / 0.5594 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.4258, allocations: 179.1 kB / 0.5596 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.4261, allocations: 99.75 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.4262, allocations: 19.95 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.4263, allocations: 39.84 kB / 0.5598 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4264, allocations: 51.81 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.4264, allocations: 7.938 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4266, allocations: 51.98 kB / 0.5599 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.4267, allocations: 27.91 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.4267, allocations: 35.73 kB / 0.5599 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.427, allocations: 117.5 kB / 0.56 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.427, allocations: 7.875 kB / 0.5601 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.427, allocations: 4 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.427, allocations: 0 / 0.5601 GB, free: 4.684 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007074/0.4277, allocations: 349.6 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4277, allocations: 8.031 kB / 0.5604 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.4278, allocations: 38.75 kB / 0.5604 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4278, allocations: 12.84 kB / 0.5604 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.428, allocations: 143 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4281, allocations: 16.31 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4281, allocations: 4.375 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.4283, allocations: 69.59 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4283, allocations: 7.953 kB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4283, allocations: 0 / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4283, allocations: 0 / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.4285, allocations: 43.95 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.4289, allocations: 299.8 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.4292, allocations: 58.55 kB / 0.5611 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.4293, allocations: 24.97 kB / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4293, allocations: 4.031 kB / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4293, allocations: 34.56 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.4293, allocations: 4 kB / 0.5611 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.4309, allocations: 432.8 kB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.431, allocations: 55.41 kB / 0.5616 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4312, allocations: 192.2 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4312, allocations: 25.7 kB / 0.5618 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.4313, allocations: 112.1 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.4313, allocations: 39.64 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.4314, allocations: 25.72 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4315, allocations: 322.8 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4317, allocations: 51.95 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.4319, allocations: 55.95 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.4322, allocations: 128.7 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4322, allocations: 3.938 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003475/0.4325, allocations: 165.8 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4325, allocations: 6.656 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4325, allocations: 0.5625 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4325, allocations: 15.88 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4327, allocations: 23.98 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4327, allocations: 0 / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.4327, allocations: 15.92 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4327, allocations: 8 kB / 0.5627 GB, free: 1.75 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001094/0.4328, allocations: 129.8 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.4329, allocations: 11.91 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.4333, allocations: 194.9 kB / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.4333, allocations: 11.92 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4334, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4334, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.4341, allocations: 487 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4341, allocations: 0 / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4342, allocations: 31.91 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4342, allocations: 0 / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4343, allocations: 4 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4343, allocations: 0 / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4343, allocations: 0 / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.4347, allocations: 277 kB / 0.5638 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4347, allocations: 15.94 kB / 0.5638 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4347, allocations: 4 kB / 0.5638 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4348, allocations: 15.94 kB / 0.5639 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4349, allocations: 11.98 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.4349, allocations: 3.984 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.435, allocations: 156.9 kB / 0.564 GB, free: 328 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.435, allocations: 0 / 0.564 GB, free: 328 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.4353, allocations: 27.94 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002442/0.4378, allocations: 1.161 MB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.4381, allocations: 127.8 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4381, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.4383, allocations: 63.89 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4387, allocations: 25.8 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4413, allocations: 1.925 MB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4417, allocations: 0.7158 MB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.98e-05/0.4418, allocations: 32.47 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.4419, allocations: 39.42 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4419, allocations: 0 / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4732, allocations: 3.71 MB / 0.5717 GB, free: 8.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.29, allocations: 4 kB / 0.5717 GB, free: 8.598 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.567139776001568]