Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001785/0.001785, 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.002177/0.002177, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.293/0.293, allocations: 44.91 MB / 358.8 MB, free: 6.324 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002044/0.002044, allocations: 72.17 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4299, allocations: 65.47 MB / 0.557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003969/0.4339, allocations: 1.7 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.4353, allocations: 0.6049 MB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.4354, allocations: 0 / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.4362, allocations: 463.1 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008056/0.437, allocations: 291.3 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.4377, allocations: 175 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.4383, allocations: 183.6 kB / 0.5604 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.4384, allocations: 18.05 kB / 0.5604 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.4387, allocations: 119.7 kB / 0.5605 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.4393, allocations: 251.5 kB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.4393, allocations: 7.938 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.4396, allocations: 51.92 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.4397, allocations: 91.67 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.4399, allocations: 110.9 kB / 0.561 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.4404, allocations: 286.5 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4404, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.262e-06/0.4404, allocations: 8 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4404, allocations: 3.938 kB / 0.5613 GB, free: 3.469 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.0009091/0.4413, allocations: 0.6009 MB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4413, allocations: 8.031 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.4414, allocations: 42.69 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.4415, allocations: 40.66 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.4418, allocations: 246.8 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.4418, allocations: 8.375 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.4418, allocations: 8.328 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.442, allocations: 73.59 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.442, allocations: 3.984 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4421, allocations: 4 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4421, allocations: 3.938 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.4422, allocations: 43.95 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.4428, allocations: 391.7 kB / 0.5627 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4431, allocations: 58.58 kB / 0.5627 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.4432, allocations: 28.95 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4432, allocations: 4 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4432, allocations: 34.56 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4432, allocations: 4 kB / 0.5628 GB, free: 1.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001587/0.4448, allocations: 0.4924 MB / 0.5633 GB, free: 1.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.4449, allocations: 59.34 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.4458, allocations: 0.8776 MB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4458, allocations: 25.7 kB / 0.5642 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.446, allocations: 220.1 kB / 0.5644 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4461, allocations: 39.69 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.4461, allocations: 25.77 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4463, allocations: 358.7 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4465, allocations: 55.95 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4466, allocations: 55.95 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.4469, allocations: 124.8 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4469, allocations: 4 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003904/0.4473, allocations: 201.5 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4473, allocations: 7.984 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4473, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4473, allocations: 12.44 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4474, allocations: 27.98 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4474, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.4475, allocations: 7.984 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4475, allocations: 8 kB / 0.5653 GB, free: 15.11 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 (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.0002155/0.4477, allocations: 221.8 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.4478, allocations: 47.67 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.4483, allocations: 237.4 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4483, allocations: 3.938 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4483, allocations: 0 / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4483, allocations: 0 / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.4492, allocations: 0.5771 MB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4492, allocations: 0 / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4493, allocations: 27.98 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.4493, allocations: 4 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4493, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4493, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4493, allocations: 4 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.4497, allocations: 312.7 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.4498, allocations: 43.7 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4498, allocations: 96 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4499, allocations: 15.92 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.45, allocations: 15.98 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.45, allocations: 4 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.4507, allocations: 0.6589 MB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4507, allocations: 0 / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.451, allocations: 31.94 kB / 0.5675 GB, free: 12.82 MB / 414.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.002383/0.4533, allocations: 1.198 MB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.4537, allocations: 123.8 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4537, allocations: 0 / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4539, allocations: 63.89 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4543, allocations: 34.42 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.459, allocations: 3.556 MB / 0.5723 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.4596, allocations: 0.8379 MB / 0.5731 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.4597, allocations: 36.45 kB / 0.5732 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.4599, allocations: 131.3 kB / 0.5733 GB, free: 6.875 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4599, allocations: 0 / 0.5733 GB, free: 6.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.496, allocations: 6.896 MB / 0.58 GB, free: 56 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.09, allocations: 3.234 kB / 0.58 GB, free: 56 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_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_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.495574929998838]