Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001516/0.001516, 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.001676/0.001676, allocations: 217.2 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2275/0.2275, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.002089/0.002089, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 65.47 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003044/0.3638, allocations: 1.673 MB / 0.5587 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3657, allocations: 1.275 MB / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3658, allocations: 4 kB / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.366, allocations: 15.86 kB / 0.5599 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3663, allocations: 87.61 kB / 0.56 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3666, allocations: 135.6 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3668, allocations: 75.78 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.3669, allocations: 13.81 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.3669, allocations: 39.78 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3671, allocations: 35.84 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3671, allocations: 4 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3673, allocations: 103.9 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.3674, allocations: 23.84 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.3674, allocations: 35.8 kB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3677, allocations: 143.5 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3677, allocations: 0 / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3677, allocations: 4 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3677, allocations: 0 / 0.5606 GB, free: 4.082 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.0005705/0.3682, allocations: 345.6 kB / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3683, allocations: 12.03 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.3683, allocations: 38.69 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3684, allocations: 8.891 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3686, allocations: 137.2 kB / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3686, allocations: 4.375 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3686, allocations: 8.328 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3688, allocations: 79.31 kB / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3688, allocations: 0 / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3688, allocations: 0 / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3688, allocations: 0 / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.369, allocations: 43.91 kB / 0.5613 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.3693, allocations: 267.8 kB / 0.5615 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3695, allocations: 46.55 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.3695, allocations: 20.94 kB / 0.5616 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3696, allocations: 0 / 0.5616 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3696, allocations: 38.5 kB / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3696, allocations: 0 / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007776/0.3704, allocations: 213.2 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.3704, allocations: 81.11 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3706, allocations: 160.3 kB / 0.562 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3706, allocations: 29.7 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.3707, allocations: 96.2 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3707, allocations: 27.73 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3708, allocations: 21.72 kB / 0.5622 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3709, allocations: 318.8 kB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.371, allocations: 31.97 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3711, allocations: 49.69 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3713, allocations: 76.8 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3713, allocations: 0 / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002945/0.3716, allocations: 117.8 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3717, allocations: 8.031 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3717, allocations: 0 / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3717, allocations: 0 / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3718, allocations: 19.98 kB / 0.5628 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3718, allocations: 3.938 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.3719, allocations: 19.92 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3719, allocations: 0 / 0.5628 GB, free: 1.594 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.0001044/0.372, allocations: 113.8 kB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.372, allocations: 11.95 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.3724, allocations: 134.2 kB / 0.5631 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3724, allocations: 0 / 0.5631 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3724, allocations: 0 / 0.5631 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3724, allocations: 3.938 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.3729, allocations: 365.6 kB / 0.5634 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3729, allocations: 4 kB / 0.5634 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.373, allocations: 31.86 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.373, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3731, allocations: 7.922 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3731, allocations: 0 / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3731, allocations: 0 / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.3734, allocations: 211.5 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.3734, allocations: 11.94 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3734, allocations: 7.938 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.3735, allocations: 11.98 kB / 0.5637 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3736, allocations: 0 / 0.5637 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3736, allocations: 4 kB / 0.5637 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3737, allocations: 124.6 kB / 0.5638 GB, free: 496 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 0.5638 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.374, allocations: 47.86 kB / 0.5639 GB, free: 448 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.002314/0.3763, allocations: 1.135 MB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3766, allocations: 79.88 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3766, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3767, allocations: 39.97 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3771, allocations: 15.98 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3793, allocations: 1.593 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3797, allocations: 0.6963 MB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.481e-05/0.3797, allocations: 16.97 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.3798, allocations: 35.41 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3798, allocations: 0 / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.4107, allocations: 3.691 MB / 0.571 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 4 kB / 0.571 GB, free: 9.223 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.666138754997519]