Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.00134/0.00134, 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.001585/0.001585, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.539/1.539, 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.2291/0.2291, allocations: 44.91 MB / 358.8 MB, free: 6.316 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.003175/0.003175, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3872, allocations: 65.47 MB / 0.557 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003379/0.3905, allocations: 1.673 MB / 0.5587 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3931, allocations: 1.302 MB / 0.5599 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3932, allocations: 0 / 0.5599 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.3935, allocations: 31.84 kB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.394, allocations: 83.56 kB / 0.5601 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.3947, allocations: 183 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.3949, allocations: 79.72 kB / 0.5603 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3951, allocations: 14.09 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3951, allocations: 35.84 kB / 0.5604 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3954, allocations: 35.84 kB / 0.5604 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3954, allocations: 4 kB / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3956, allocations: 103.9 kB / 0.5605 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.3957, allocations: 19.91 kB / 0.5605 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.3958, allocations: 35.8 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.3961, allocations: 163.4 kB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3961, allocations: 0 / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3961, allocations: 0 / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3961, allocations: 0 / 0.5607 GB, free: 4.191 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.0006902/0.3968, allocations: 349.5 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3969, allocations: 12.03 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.3969, allocations: 30.75 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.397, allocations: 8.891 kB / 0.5611 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3972, allocations: 144.6 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3972, allocations: 8.375 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3972, allocations: 4.375 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3974, allocations: 91.23 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3975, allocations: 3.984 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3975, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3975, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3976, allocations: 35.97 kB / 0.5614 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.3981, allocations: 287.8 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3983, allocations: 50.48 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.3983, allocations: 24.94 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3984, allocations: 0 / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3984, allocations: 34.56 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3984, allocations: 0 / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009308/0.3993, allocations: 237.3 kB / 0.562 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.3994, allocations: 81.11 kB / 0.562 GB, free: 2.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3996, allocations: 162.9 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3996, allocations: 25.7 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.3997, allocations: 96.09 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3998, allocations: 27.78 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.3998, allocations: 25.66 kB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4, allocations: 318.8 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4001, allocations: 43.97 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.4003, allocations: 53.67 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.4005, allocations: 88.73 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.4005, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003134/0.4008, allocations: 133.8 kB / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4008, allocations: 6.344 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4009, allocations: 4 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4009, allocations: 0 / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.401, allocations: 15.98 kB / 0.563 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.401, allocations: 4 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.4011, allocations: 11.92 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4011, allocations: 8 kB / 0.563 GB, free: 1.605 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 (7): * Single equations (assignments): 7 * 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.0001101/0.4012, allocations: 125.8 kB / 0.5631 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.4012, allocations: 11.91 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.4016, allocations: 138.3 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4016, allocations: 4 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4016, allocations: 0 / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4016, allocations: 7.938 kB / 0.5633 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.4023, allocations: 385.5 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4023, allocations: 0 / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.4024, allocations: 23.97 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4024, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4024, allocations: 3.938 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4024, allocations: 4 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4024, allocations: 4 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.4028, allocations: 223.4 kB / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.4028, allocations: 11.94 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4028, allocations: 11.94 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.4029, allocations: 12 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.403, allocations: 3.984 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.403, allocations: 4 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.4031, allocations: 118.2 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4031, allocations: 0 / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.4034, allocations: 51.8 kB / 0.5641 GB, free: 408 kB / 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 (7): * Single equations (assignments): 7 * 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.002336/0.4057, allocations: 1.151 MB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.4061, allocations: 87.92 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4061, allocations: 0 / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4062, allocations: 47.97 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4066, allocations: 19.92 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.409, allocations: 1.64 MB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4093, allocations: 0.7083 MB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4094, allocations: 32.69 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.4095, allocations: 31.61 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4095, allocations: 0 / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.4453, allocations: 3.776 MB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.27, allocations: 4 kB / 0.5714 GB, free: 8.988 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_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_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.50683239600039]