Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001313/0.001313, allocations: 113.2 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.001535/0.001535, allocations: 213.9 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2263/0.2263, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002026/0.002026, allocations: 71.88 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3727, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002907/0.3756, allocations: 1.634 MB / 0.5586 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3767, allocations: 0.566 MB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.3767, allocations: 0 / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.377, allocations: 127.7 kB / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.3773, allocations: 123.5 kB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.3776, allocations: 111.7 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3778, allocations: 103.7 kB / 0.5596 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.3779, allocations: 13.77 kB / 0.5597 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.378, allocations: 51.88 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.3781, allocations: 99.64 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3781, allocations: 4 kB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.3782, allocations: 47.98 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3783, allocations: 23.92 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3783, allocations: 39.66 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3785, allocations: 131.3 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3785, allocations: 0 / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3786, allocations: 0 / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3786, allocations: 4 kB / 0.56 GB, free: 4.727 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.0004858/0.379, allocations: 361.4 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3791, allocations: 12.03 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3791, allocations: 34.75 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.3792, allocations: 16.84 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3794, allocations: 162.4 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.3794, allocations: 4.375 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3794, allocations: 384 / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3795, allocations: 65.55 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3795, allocations: 0 / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3796, allocations: 0 / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3796, allocations: 4 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.3797, allocations: 23.98 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3801, allocations: 275.9 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3802, allocations: 50.48 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.3802, allocations: 16.86 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3803, allocations: 8.062 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.408e-05/0.3803, allocations: 34.64 kB / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3803, allocations: 0 / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009217/0.3813, allocations: 265 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3813, allocations: 55.41 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3816, allocations: 271.8 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3816, allocations: 25.7 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.3817, allocations: 112.1 kB / 0.5618 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3817, allocations: 31.73 kB / 0.5618 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.3818, allocations: 21.72 kB / 0.5618 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3819, allocations: 330.8 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.382, allocations: 35.97 kB / 0.5622 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.3821, allocations: 23.98 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3823, allocations: 76.81 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3823, allocations: 0 / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002361/0.3825, allocations: 117.5 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3825, allocations: 4 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3825, allocations: 4 kB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3825, allocations: 3.938 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3826, allocations: 23.92 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3826, allocations: 3.938 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3827, allocations: 7.984 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3827, allocations: 0 / 0.5624 GB, free: 2.09 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.0001126/0.3828, allocations: 139.1 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.3828, allocations: 11.91 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.3832, allocations: 139 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3832, allocations: 0 / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3832, allocations: 7.938 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3832, allocations: 3.938 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.3837, allocations: 398.7 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3837, allocations: 4.031 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.3838, allocations: 23.92 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3838, allocations: 0 / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3838, allocations: 4 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3838, allocations: 0 / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3838, allocations: 4.016 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3841, allocations: 224.2 kB / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.3842, allocations: 19.84 kB / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3842, allocations: 4 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.3843, allocations: 7.984 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.3843, allocations: 0 / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3843, allocations: 4 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3845, allocations: 216.1 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3845, allocations: 0 / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3848, allocations: 23.94 kB / 0.5636 GB, free: 0.793 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.002298/0.387, allocations: 1.104 MB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3873, allocations: 71.95 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3873, allocations: 0 / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.3874, allocations: 39.91 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3878, allocations: 35.98 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.39, allocations: 1.851 MB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3904, allocations: 0.7236 MB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.612e-05/0.3904, allocations: 24.94 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.3905, allocations: 39.36 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3905, allocations: 0 / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4203, allocations: 3.619 MB / 0.5709 GB, free: 9.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.38, allocations: 18.19 kB / 0.5709 GB, free: 9.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.535431452000921]