Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001329/0.001329, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002135/0.002135, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.3291/0.3291, allocations: 44.91 MB / 358.8 MB, free: 6.281 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001942/0.001942, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3673, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003855/0.3712, allocations: 1.669 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3724, allocations: 0.5737 MB / 0.5592 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3725, allocations: 0 / 0.5592 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.3732, allocations: 455.1 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.3738, allocations: 303.3 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.3743, allocations: 131.5 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.3747, allocations: 175.6 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3748, allocations: 11.8 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.375, allocations: 119.7 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.3754, allocations: 251.5 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.3755, allocations: 4 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3756, allocations: 39.98 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.3758, allocations: 83.67 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3759, allocations: 103 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.3764, allocations: 272.6 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3764, allocations: 0 / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3764, allocations: 4 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3764, allocations: 0 / 0.5611 GB, free: 3.613 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.001135/0.3776, allocations: 0.5957 MB / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.3776, allocations: 12.03 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.3777, allocations: 38.75 kB / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.3778, allocations: 44.66 kB / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.3782, allocations: 246.8 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3782, allocations: 4.359 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.3783, allocations: 8.375 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3785, allocations: 61.59 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3785, allocations: 4 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3785, allocations: 7.938 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3785, allocations: 0 / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3787, allocations: 31.97 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.3795, allocations: 367.7 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3797, allocations: 42.56 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3798, allocations: 28.88 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3798, allocations: 0 / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3798, allocations: 34.55 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3798, allocations: 0 / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001274/0.3811, allocations: 304.7 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3812, allocations: 55.41 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3826, allocations: 0.8736 MB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.3827, allocations: 25.7 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.3829, allocations: 216.1 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.383, allocations: 31.73 kB / 0.564 GB, free: 448 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.383, allocations: 17.72 kB / 0.564 GB, free: 424 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.3833, allocations: 362.8 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3835, allocations: 31.97 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3837, allocations: 31.97 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.384, allocations: 80.75 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.384, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005006/0.3845, allocations: 153.3 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3846, allocations: 4 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3846, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3846, allocations: 4 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.3848, allocations: 19.98 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3848, allocations: 0 / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3849, allocations: 15.92 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3849, allocations: 0 / 0.5647 GB, free: 15.71 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 (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.0003222/0.3853, allocations: 213.8 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3854, allocations: 43.72 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.386, allocations: 177.7 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.386, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.386, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.386, allocations: 3.938 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3871, allocations: 477.5 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3871, allocations: 4 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3873, allocations: 23.92 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3873, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3873, allocations: 7.938 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.3873, allocations: 4 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3873, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.3879, allocations: 247.2 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.3879, allocations: 31.72 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.388, allocations: 7.938 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3882, allocations: 11.98 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.3882, allocations: 7.984 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.3882, allocations: 0 / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.3893, allocations: 0.6628 MB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3893, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3898, allocations: 24 kB / 0.5666 GB, free: 13.7 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 (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.003039/0.3928, allocations: 1.073 MB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.3933, allocations: 79.88 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3933, allocations: 3.938 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3935, allocations: 35.97 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.3942, allocations: 34.11 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.4007, allocations: 3.331 MB / 0.571 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.4015, allocations: 0.8221 MB / 0.5718 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.836e-05/0.4016, allocations: 20.97 kB / 0.5719 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4018, allocations: 107.4 kB / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.4018, allocations: 0 / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4363, allocations: 6.347 MB / 0.5782 GB, free: 1.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 7.938 kB / 0.5782 GB, free: 1.922 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_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_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.35289153699705]