Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.002092/0.002092, allocations: 115.8 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.001806/0.001806, allocations: 216.6 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2466/0.2466, 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.002039/0.002039, allocations: 67.84 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4405, allocations: 65.46 MB / 0.557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003555/0.444, allocations: 1.614 MB / 0.5586 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4452, allocations: 0.5581 MB / 0.5592 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.4453, allocations: 0 / 0.5592 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.4455, allocations: 23.86 kB / 0.5592 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.4458, allocations: 71.62 kB / 0.5592 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.4461, allocations: 87.77 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.4463, allocations: 71.75 kB / 0.5594 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4464, allocations: 9.828 kB / 0.5594 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.4465, allocations: 27.86 kB / 0.5594 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.4465, allocations: 23.86 kB / 0.5595 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4466, allocations: 4 kB / 0.5595 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.4466, allocations: 31.98 kB / 0.5595 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.4467, allocations: 19.86 kB / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.4467, allocations: 23.81 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.4469, allocations: 79.66 kB / 0.5596 GB, free: 5.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4469, allocations: 3.938 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4469, allocations: 0 / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4469, allocations: 4 kB / 0.5596 GB, free: 5.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004933/0.4474, allocations: 305.9 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4475, allocations: 12.03 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.4475, allocations: 34.73 kB / 0.56 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.4475, allocations: 8.891 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.4477, allocations: 132.8 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4477, allocations: 8.375 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.4478, allocations: 384 / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4479, allocations: 53.56 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4479, allocations: 3.938 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4479, allocations: 0 / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4479, allocations: 4 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.448, allocations: 27.97 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.4484, allocations: 243.9 kB / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4487, allocations: 46.5 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.4487, allocations: 12.86 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4487, allocations: 4 kB / 0.5605 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4488, allocations: 34.64 kB / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4488, allocations: 0 / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006655/0.4494, allocations: 145.4 kB / 0.5606 GB, free: 3.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4495, allocations: 55.41 kB / 0.5607 GB, free: 3.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.4496, allocations: 150.1 kB / 0.5608 GB, free: 3.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4497, allocations: 29.7 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.4497, allocations: 96.08 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.4498, allocations: 15.86 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.4498, allocations: 21.7 kB / 0.561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.45, allocations: 322.8 kB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.4501, allocations: 19.98 kB / 0.5613 GB, free: 3.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.4501, allocations: 15.98 kB / 0.5613 GB, free: 3.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4503, allocations: 44.84 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4503, allocations: 0 / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.4504, allocations: 85.55 kB / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4505, allocations: 4 kB / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4505, allocations: 4 kB / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4505, allocations: 0 / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.4505, allocations: 11.98 kB / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4506, allocations: 4 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.4506, allocations: 12.19 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4506, allocations: 3.938 kB / 0.5615 GB, free: 3.051 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 (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 9.74e-05/0.4507, allocations: 117.8 kB / 0.5616 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.4507, allocations: 15.94 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.451, allocations: 86 kB / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.451, allocations: 4 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.451, allocations: 7.938 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.451, allocations: 288 / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.4514, allocations: 313.6 kB / 0.562 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4514, allocations: 0 / 0.562 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.4515, allocations: 15.92 kB / 0.562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4515, allocations: 7.984 kB / 0.562 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4515, allocations: 0 / 0.562 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4515, allocations: 3.938 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4515, allocations: 4 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.4518, allocations: 175.5 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.4518, allocations: 7.953 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4518, allocations: 4 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.4519, allocations: 11.92 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.4519, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.4519, allocations: 4 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.452, allocations: 121.8 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.452, allocations: 0 / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.4522, allocations: 15.94 kB / 0.5624 GB, free: 2.062 MB / 398.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.002126/0.4544, allocations: 1.023 MB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.4546, allocations: 43.97 kB / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4546, allocations: 0 / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.4547, allocations: 27.92 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4551, allocations: 15.92 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4571, allocations: 1.437 MB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.4576, allocations: 0.6885 MB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.4576, allocations: 20.08 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.4577, allocations: 23.38 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4577, allocations: 0 / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.4867, allocations: 2.702 MB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.61, allocations: 8 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.988854966999497]