Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001384/0.001384, allocations: 115.6 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.001882/0.001882, allocations: 213.4 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.51/1.51, 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.2384/0.2384, allocations: 44.9 MB / 358.8 MB, free: 6.309 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002063/0.002063, allocations: 67.91 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4007, allocations: 65.47 MB / 0.557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003795/0.4045, allocations: 1.625 MB / 0.5586 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.4057, allocations: 0.5767 MB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.4058, allocations: 4 kB / 0.5592 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.4065, allocations: 455.1 kB / 0.5596 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.4071, allocations: 287.3 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.4076, allocations: 174.9 kB / 0.5601 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.4079, allocations: 167.6 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.408, allocations: 19.97 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.4082, allocations: 99.8 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.4085, allocations: 251.5 kB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.4085, allocations: 4 kB / 0.5606 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.4086, allocations: 35.91 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4087, allocations: 80.69 kB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4088, allocations: 103 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.4092, allocations: 256.5 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4092, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4092, allocations: 4 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4092, allocations: 0 / 0.561 GB, free: 3.691 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.0008267/0.41, allocations: 0.5854 MB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4101, allocations: 8.031 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.4101, allocations: 38.69 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.4102, allocations: 44.66 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.4105, allocations: 246.8 kB / 0.5619 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4105, allocations: 384 / 0.5619 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4105, allocations: 4.375 kB / 0.5619 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4107, allocations: 61.61 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4107, allocations: 0 / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4107, allocations: 0 / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4107, allocations: 0 / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.4108, allocations: 27.92 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.4114, allocations: 355.9 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.4115, allocations: 30.58 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.4115, allocations: 20.91 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4116, allocations: 3.938 kB / 0.5624 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4116, allocations: 30.56 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4116, allocations: 0 / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002921/0.4119, allocations: 105.3 kB / 0.5625 GB, free: 2.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4119, allocations: 55.53 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.4128, allocations: 0.8777 MB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4129, allocations: 29.7 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.4131, allocations: 220.1 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4131, allocations: 15.83 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.4131, allocations: 17.7 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4133, allocations: 358.7 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.4134, allocations: 15.98 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.4134, allocations: 11.94 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.4135, allocations: 36.83 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4135, allocations: 0 / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001609/0.4137, allocations: 89.41 kB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4137, allocations: 8 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4137, allocations: 3.984 kB / 0.5642 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4137, allocations: 96 / 0.5642 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.4138, allocations: 11.98 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4138, allocations: 0 / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.4138, allocations: 8 kB / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4138, allocations: 3.938 kB / 0.5643 GB, free: 208 kB / 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 (2): * Single equations (assignments): 2 * 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.0002232/0.4141, allocations: 217.6 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.4141, allocations: 51.66 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.4144, allocations: 104.8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4144, allocations: 4.031 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4144, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4144, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.4147, allocations: 264.6 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4147, allocations: 0 / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.4147, allocations: 4 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4147, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4147, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4147, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4147, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.4149, allocations: 203.1 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.415, allocations: 35.7 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.415, allocations: 4 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.4151, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.4151, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4151, allocations: 4 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006652/0.4158, allocations: 0.6589 MB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4158, allocations: 4.031 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.416, allocations: 23.94 kB / 0.5658 GB, free: 14.56 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 (2): * Single equations (assignments): 2 * 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.001711/0.4177, allocations: 0.9738 MB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.4179, allocations: 23.98 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4179, allocations: 0 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.4179, allocations: 11.98 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.4184, allocations: 34.05 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.4224, allocations: 3.183 MB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.423, allocations: 0.826 MB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.992e-05/0.4231, allocations: 15.73 kB / 0.5707 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.4232, allocations: 111.4 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4232, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.459, allocations: 5.949 MB / 0.5766 GB, free: 3.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.04, allocations: 11.06 kB / 0.5767 GB, free: 3.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.250415499001974]