Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001669/0.001669, 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.00168/0.00168, allocations: 215.7 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.599/1.599, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.247/0.247, allocations: 44.91 MB / 358.8 MB, free: 6.266 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002059/0.002059, allocations: 67.89 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4016, allocations: 65.47 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003064/0.4047, allocations: 1.633 MB / 0.5586 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4057, allocations: 0.5504 MB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.4057, allocations: 3.938 kB / 0.5592 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.406, allocations: 75.77 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.4062, allocations: 107.5 kB / 0.5594 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.4065, allocations: 87.77 kB / 0.5594 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.4067, allocations: 83.75 kB / 0.5595 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.4067, allocations: 9.828 kB / 0.5595 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.4068, allocations: 43.83 kB / 0.5596 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.4069, allocations: 55.77 kB / 0.5596 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.4069, allocations: 4 kB / 0.5596 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.407, allocations: 47.97 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.4071, allocations: 19.92 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.4071, allocations: 27.81 kB / 0.5597 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.4073, allocations: 107.5 kB / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4073, allocations: 0 / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4073, allocations: 0 / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4073, allocations: 0 / 0.5598 GB, free: 4.887 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.0004645/0.4078, allocations: 337.6 kB / 0.5601 GB, free: 4.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4078, allocations: 16.03 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.4078, allocations: 30.75 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.4079, allocations: 12.84 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.4081, allocations: 146.3 kB / 0.5603 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4081, allocations: 4.359 kB / 0.5603 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.4081, allocations: 8.375 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4082, allocations: 53.61 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4083, allocations: 3.938 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4083, allocations: 4 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4083, allocations: 8 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.4084, allocations: 19.98 kB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.4087, allocations: 263.9 kB / 0.5607 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4088, allocations: 46.44 kB / 0.5607 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.4089, allocations: 16.94 kB / 0.5608 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.4089, allocations: 12.06 kB / 0.5608 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4089, allocations: 30.56 kB / 0.5608 GB, free: 3.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4089, allocations: 0 / 0.5608 GB, free: 3.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008273/0.4098, allocations: 217.2 kB / 0.561 GB, free: 3.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.4098, allocations: 55.41 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.41, allocations: 203.2 kB / 0.5612 GB, free: 3.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.41, allocations: 29.7 kB / 0.5613 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.4101, allocations: 104.1 kB / 0.5614 GB, free: 3.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.4101, allocations: 31.73 kB / 0.5614 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.4102, allocations: 17.72 kB / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4103, allocations: 330.8 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.4104, allocations: 23.98 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.4105, allocations: 23.98 kB / 0.5618 GB, free: 2.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4106, allocations: 72.69 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4106, allocations: 0 / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.4108, allocations: 97.61 kB / 0.5619 GB, free: 2.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4108, allocations: 8 kB / 0.562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4109, allocations: 0 / 0.562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4109, allocations: 8 kB / 0.562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.411, allocations: 19.98 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.411, allocations: 4.25 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.411, allocations: 8 kB / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.411, allocations: 3.984 kB / 0.562 GB, free: 2.461 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 (8): * Single equations (assignments): 8 * 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.0001075/0.4111, allocations: 121.8 kB / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.4112, allocations: 15.91 kB / 0.5621 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.4115, allocations: 123 kB / 0.5622 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4115, allocations: 0 / 0.5622 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4115, allocations: 3.938 kB / 0.5622 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4115, allocations: 432 / 0.5622 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.412, allocations: 374.3 kB / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.412, allocations: 0 / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.4121, allocations: 31.89 kB / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4121, allocations: 0 / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4121, allocations: 0 / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4121, allocations: 0 / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4121, allocations: 4 kB / 0.5626 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4124, allocations: 208.3 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.4124, allocations: 11.89 kB / 0.5628 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4124, allocations: 4 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.4125, allocations: 7.984 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4125, allocations: 11.92 kB / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4125, allocations: 4 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.4127, allocations: 153.8 kB / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4129, allocations: 19.94 kB / 0.563 GB, free: 1.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002167/0.4151, allocations: 1.103 MB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4153, allocations: 63.89 kB / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4153, allocations: 0 / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.4154, allocations: 40.06 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.4158, allocations: 21.86 kB / 0.5642 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4178, allocations: 1.642 MB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4181, allocations: 0.7041 MB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.4182, allocations: 16.66 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.4183, allocations: 31.42 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4183, allocations: 4 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4483, allocations: 3.225 MB / 0.5697 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.59, allocations: 11.98 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_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_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.936227250997035]