Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001319/0.001319, 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.001407/0.001407, allocations: 214.9 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.225/0.225, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0021/0.0021, allocations: 72.11 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4268, allocations: 65.46 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004312/0.4311, allocations: 1.669 MB / 0.5587 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.4325, allocations: 0.601 MB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.4325, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.4333, allocations: 459.1 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.4339, allocations: 291.3 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.4344, allocations: 179.3 kB / 0.5601 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.4347, allocations: 171.6 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4349, allocations: 17.81 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.4351, allocations: 111.7 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.4354, allocations: 263.4 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.4354, allocations: 4 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.4356, allocations: 28 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4357, allocations: 87.67 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.4359, allocations: 107 kB / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.4363, allocations: 266.6 kB / 0.5611 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4363, allocations: 0 / 0.5611 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4363, allocations: 4 kB / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4363, allocations: 7.938 kB / 0.5612 GB, free: 3.531 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.000888/0.4372, allocations: 0.5854 MB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.4373, allocations: 8.031 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.4373, allocations: 34.75 kB / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.4374, allocations: 44.66 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.4377, allocations: 250.7 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4377, allocations: 384 / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4378, allocations: 4.375 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.438, allocations: 65.61 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.438, allocations: 3.938 kB / 0.5621 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.438, allocations: 0 / 0.5621 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.438, allocations: 0 / 0.5621 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.4382, allocations: 27.98 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.4388, allocations: 375.7 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.439, allocations: 54.48 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.4391, allocations: 20.94 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4391, allocations: 4.062 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4391, allocations: 30.56 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4391, allocations: 0 / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000717/0.4398, allocations: 244.7 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4399, allocations: 55.41 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.4408, allocations: 0.8737 MB / 0.5638 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4408, allocations: 29.7 kB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.441, allocations: 228.1 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.4411, allocations: 15.8 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.4411, allocations: 17.72 kB / 0.564 GB, free: 416 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4413, allocations: 366.8 kB / 0.5644 GB, free: 40 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.4414, allocations: 23.98 kB / 0.5644 GB, free: 16 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.4415, allocations: 20.03 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4416, allocations: 52.77 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4416, allocations: 7.938 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000236/0.4419, allocations: 117.4 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4419, allocations: 8 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4419, allocations: 256 / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4419, allocations: 7.938 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.442, allocations: 15.98 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.442, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.442, allocations: 11.92 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4421, allocations: 0 / 0.5646 GB, free: 15.77 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.0002039/0.4423, allocations: 213.8 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4423, allocations: 47.61 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.4426, allocations: 149.2 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4426, allocations: 3.984 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4426, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4427, allocations: 3.938 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.4433, allocations: 441.5 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4434, allocations: 0 / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.4434, allocations: 23.98 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4434, allocations: 0 / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4434, allocations: 3.938 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4434, allocations: 0 / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4434, allocations: 0 / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.4437, allocations: 215.2 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.4438, allocations: 39.72 kB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4438, allocations: 7.938 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.4439, allocations: 7.984 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.4439, allocations: 0 / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4439, allocations: 4 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007148/0.4446, allocations: 0.6589 MB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4446, allocations: 3.938 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.4449, allocations: 31.89 kB / 0.5664 GB, free: 13.85 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.002026/0.447, allocations: 1.062 MB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.4472, allocations: 51.89 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4472, allocations: 4 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.4473, allocations: 31.98 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.4477, allocations: 30.16 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.4518, allocations: 3.276 MB / 0.5708 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.4523, allocations: 0.8337 MB / 0.5716 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.515e-05/0.4524, allocations: 20.66 kB / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4525, allocations: 115.4 kB / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4525, allocations: 0 / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.4889, allocations: 6.287 MB / 0.5779 GB, free: 2.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12, allocations: 4.062 kB / 0.5779 GB, free: 2.223 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.152614081998763]