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.001507/0.001507, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001873/0.001873, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2271/0.2271, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.002059/0.002059, allocations: 71.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003169/0.3694, allocations: 1.602 MB / 0.5586 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3705, allocations: 0.5388 MB / 0.5591 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3705, allocations: 3.938 kB / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3709, allocations: 119.7 kB / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3712, allocations: 127.5 kB / 0.5593 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3715, allocations: 123.3 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3717, allocations: 99.72 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3718, allocations: 13.83 kB / 0.5595 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.3719, allocations: 47.81 kB / 0.5596 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3721, allocations: 95.7 kB / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3721, allocations: 4 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3722, allocations: 43.98 kB / 0.5597 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.3723, allocations: 27.91 kB / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.3723, allocations: 31.73 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3725, allocations: 123.4 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3725, allocations: 0 / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3725, allocations: 0 / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3726, allocations: 3.938 kB / 0.5599 GB, free: 4.551 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.0005623/0.3731, allocations: 369.3 kB / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3732, allocations: 12.03 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.3732, allocations: 30.75 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3732, allocations: 20.84 kB / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3735, allocations: 162.4 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3735, allocations: 4.375 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3735, allocations: 8.375 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3736, allocations: 61.59 kB / 0.5605 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3737, allocations: 3.938 kB / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3737, allocations: 7.984 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3737, allocations: 0 / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3738, allocations: 23.98 kB / 0.5606 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3742, allocations: 275.9 kB / 0.5608 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3744, allocations: 46.48 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3744, allocations: 16.86 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3744, allocations: 4.094 kB / 0.5609 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3745, allocations: 38.55 kB / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3745, allocations: 0 / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009227/0.3754, allocations: 249.1 kB / 0.5612 GB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3754, allocations: 55.41 kB / 0.5612 GB, free: 3.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3757, allocations: 279.7 kB / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3758, allocations: 25.7 kB / 0.5615 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.3758, allocations: 112.1 kB / 0.5616 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3759, allocations: 31.73 kB / 0.5617 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3759, allocations: 17.72 kB / 0.5617 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3761, allocations: 334.8 kB / 0.562 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.3762, allocations: 31.97 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.3763, allocations: 27.98 kB / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3764, allocations: 80.81 kB / 0.5621 GB, free: 2.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3764, allocations: 0 / 0.5621 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.3767, allocations: 117.6 kB / 0.5622 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3767, allocations: 4 kB / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3767, allocations: 0 / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3767, allocations: 0 / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3768, allocations: 19.98 kB / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3768, allocations: 3.938 kB / 0.5623 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.3768, allocations: 11.98 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3769, allocations: 3.938 kB / 0.5623 GB, free: 1.906 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.0001326/0.377, allocations: 135.1 kB / 0.5624 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.377, allocations: 19.91 kB / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.3773, allocations: 131.3 kB / 0.5626 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3773, allocations: 4 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.3774, allocations: 3.938 kB / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3774, allocations: 0 / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.3779, allocations: 398.3 kB / 0.5629 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.378, allocations: 4 kB / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.378, allocations: 27.86 kB / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.378, allocations: 0 / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.378, allocations: 4 kB / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.378, allocations: 0 / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3781, allocations: 0 / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3783, allocations: 220.3 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.3784, allocations: 20.25 kB / 0.5632 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3784, allocations: 0 / 0.5632 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.3785, allocations: 8 kB / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3785, allocations: 11.92 kB / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3785, allocations: 0 / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3787, allocations: 212.1 kB / 0.5634 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 0 / 0.5634 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.379, allocations: 23.94 kB / 0.5635 GB, free: 0.6211 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.002511/0.3815, allocations: 1.139 MB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.3817, allocations: 75.88 kB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3817, allocations: 4 kB / 0.5646 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.3818, allocations: 39.92 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3822, allocations: 30.94 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3845, allocations: 1.856 MB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3847, allocations: 110.7 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.3847, allocations: 16.66 kB / 0.5666 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.3848, allocations: 43.42 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3848, allocations: 0 / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.4145, allocations: 4.001 MB / 0.5706 GB, free: 9.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 7.969 kB / 0.5706 GB, free: 9.43 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.874035315122455]