Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001751/0.001751, allocations: 115.8 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.002145/0.002145, allocations: 213.3 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.479/1.479, 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.2231/0.2231, allocations: 44.92 MB / 358.8 MB, free: 6.258 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002878/0.002878, allocations: 59.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3873, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004069/0.3913, allocations: 1.618 MB / 0.5586 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3941, allocations: 1.263 MB / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.3941, allocations: 0 / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3944, allocations: 31.78 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.3948, allocations: 91.56 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3952, allocations: 99.73 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3954, allocations: 75.75 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3956, allocations: 9.828 kB / 0.5601 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.3956, allocations: 31.86 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.3958, allocations: 35.83 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3958, allocations: 4 kB / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.3961, allocations: 95.94 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.3961, allocations: 23.86 kB / 0.5603 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.3962, allocations: 19.88 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.3965, allocations: 147.5 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3965, allocations: 0 / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3965, allocations: 0 / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3965, allocations: 0 / 0.5605 GB, free: 4.203 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.0006223/0.3971, allocations: 325.7 kB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3972, allocations: 12.03 kB / 0.5608 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3972, allocations: 30.75 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3973, allocations: 8.891 kB / 0.5609 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3975, allocations: 146.3 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3975, allocations: 8.375 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.3976, allocations: 384 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3978, allocations: 63.33 kB / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3978, allocations: 0 / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3978, allocations: 8 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3978, allocations: 0 / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3979, allocations: 23.98 kB / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.3985, allocations: 259.9 kB / 0.5613 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3987, allocations: 42.56 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.3988, allocations: 16.94 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3988, allocations: 0 / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3988, allocations: 38.56 kB / 0.5614 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3988, allocations: 0 / 0.5614 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008585/0.3997, allocations: 149.4 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.3998, allocations: 77.11 kB / 0.5616 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.4, allocations: 148.5 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4, allocations: 29.64 kB / 0.5618 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.4001, allocations: 100.1 kB / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.4001, allocations: 23.84 kB / 0.5619 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.4002, allocations: 17.72 kB / 0.562 GB, free: 2.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4004, allocations: 322.8 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4005, allocations: 15.98 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4006, allocations: 37.7 kB / 0.5623 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4008, allocations: 60.8 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4008, allocations: 0 / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002916/0.4011, allocations: 81.61 kB / 0.5624 GB, free: 1.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4011, allocations: 8 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4011, allocations: 0 / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4011, allocations: 7.875 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.4012, allocations: 16.23 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4012, allocations: 4 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.4013, allocations: 11.94 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4013, allocations: 4 kB / 0.5625 GB, free: 1.938 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 0.0001199/0.4014, allocations: 117.8 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.4015, allocations: 7.953 kB / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4018, allocations: 90.06 kB / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4018, allocations: 3.984 kB / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4018, allocations: 8 kB / 0.5627 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.4018, allocations: 8.156 kB / 0.5627 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.4025, allocations: 317.6 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4025, allocations: 3.984 kB / 0.563 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.4026, allocations: 12 kB / 0.563 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4026, allocations: 4 kB / 0.563 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4026, allocations: 7.922 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4026, allocations: 0 / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4026, allocations: 4 kB / 0.5631 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.4029, allocations: 183.4 kB / 0.5632 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.403, allocations: 7.938 kB / 0.5632 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.403, allocations: 11.94 kB / 0.5632 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4031, allocations: 4 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4031, allocations: 3.984 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4032, allocations: 4 kB / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4033, allocations: 111.3 kB / 0.5634 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4033, allocations: 0 / 0.5634 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.4038, allocations: 39.86 kB / 0.5634 GB, free: 0.9141 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.003068/0.4068, allocations: 1.127 MB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.4072, allocations: 47.86 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4072, allocations: 0 / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.4073, allocations: 35.91 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.4078, allocations: 13.31 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4103, allocations: 1.45 MB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4108, allocations: 0.6962 MB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.4109, allocations: 16 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.411, allocations: 27.42 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.411, allocations: 0 / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.4423, allocations: 3.421 MB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 4.062 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.780958171999373]