Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001431/0.001431, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001592/0.001592, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2221/0.2221, allocations: 44.95 MB / 358.9 MB, free: 6.066 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.002271/0.002271, allocations: 63.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3594, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003395/0.3628, allocations: 1.637 MB / 0.5586 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3639, allocations: 0.5309 MB / 0.5591 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.3639, allocations: 0 / 0.5591 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.3645, allocations: 463.1 kB / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.365, allocations: 295.3 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3654, allocations: 131.1 kB / 0.5599 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3656, allocations: 171.6 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.3657, allocations: 13.81 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3658, allocations: 111.7 kB / 0.5602 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3661, allocations: 255.5 kB / 0.5605 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3661, allocations: 0 / 0.5605 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.3662, allocations: 36 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3663, allocations: 83.67 kB / 0.5606 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.3664, allocations: 75.23 kB / 0.5607 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3667, allocations: 270.5 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3667, allocations: 0 / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3667, allocations: 4 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3667, allocations: 0 / 0.5609 GB, free: 3.496 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.0008294/0.3676, allocations: 0.5815 MB / 0.5615 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3676, allocations: 8.031 kB / 0.5615 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.3677, allocations: 34.73 kB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.3677, allocations: 48.61 kB / 0.5616 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.368, allocations: 250.8 kB / 0.5618 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3681, allocations: 384 / 0.5618 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3681, allocations: 4.375 kB / 0.5618 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3682, allocations: 57.56 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3683, allocations: 8 kB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3683, allocations: 0 / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3683, allocations: 0 / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3684, allocations: 27.97 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.369, allocations: 355.7 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.3692, allocations: 46.5 kB / 0.5623 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.3692, allocations: 16.94 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3693, allocations: 0 / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3693, allocations: 30.56 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.3693, allocations: 7.984 kB / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006695/0.37, allocations: 232.7 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.37, allocations: 55.41 kB / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.371, allocations: 0.8737 MB / 0.5635 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.371, allocations: 33.7 kB / 0.5635 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3712, allocations: 224 kB / 0.5637 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3712, allocations: 19.91 kB / 0.5637 GB, free: 444 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.3712, allocations: 29.64 kB / 0.5638 GB, free: 408 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3714, allocations: 358.8 kB / 0.5641 GB, free: 40 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.3715, allocations: 15.98 kB / 0.5641 GB, free: 24 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.3716, allocations: 19.98 kB / 0.5641 GB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3717, allocations: 52.77 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3717, allocations: 0 / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002122/0.3719, allocations: 113.3 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3719, allocations: 12 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.372, allocations: 3.984 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.372, allocations: 0 / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.372, allocations: 8 kB / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.372, allocations: 7.984 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.3721, allocations: 11.92 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3721, allocations: 4 kB / 0.5643 GB, free: 15.79 MB / 414.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.0001897/0.3723, allocations: 209.7 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.3724, allocations: 43.72 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.3726, allocations: 137.5 kB / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3726, allocations: 4 kB / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3726, allocations: 4.062 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3726, allocations: 3.938 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.3732, allocations: 425.5 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3732, allocations: 0 / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.3733, allocations: 12 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3733, allocations: 4 kB / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3733, allocations: 3.938 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3733, allocations: 3.984 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3733, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3735, allocations: 215.2 kB / 0.5654 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.3736, allocations: 39.7 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3736, allocations: 3.938 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.3737, allocations: 4 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3738, allocations: 11.92 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.3738, allocations: 4 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007686/0.3745, allocations: 0.6589 MB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3745, allocations: 3.938 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3748, allocations: 27.94 kB / 0.5661 GB, free: 13.9 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 (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.002291/0.3771, allocations: 1.074 MB / 0.5671 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3773, allocations: 51.89 kB / 0.5672 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3773, allocations: 4 kB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3774, allocations: 23.98 kB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3779, allocations: 25.12 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.3816, allocations: 3.248 MB / 0.5704 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3818, allocations: 216.2 kB / 0.5706 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.907e-05/0.3819, allocations: 15.97 kB / 0.5706 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.382, allocations: 103.4 kB / 0.5707 GB, free: 9.207 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.382, allocations: 4 kB / 0.5707 GB, free: 9.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.416, allocations: 6.57 MB / 0.5772 GB, free: 2.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 8 kB / 0.5772 GB, free: 2.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_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_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.070662185084075]