Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001787/0.001787, 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.002575/0.002575, allocations: 214.4 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2214/0.2214, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.002052/0.002052, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003489/0.3415, allocations: 1.719 MB / 0.5587 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3426, allocations: 0.5776 MB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.3427, allocations: 0 / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.3429, allocations: 27.78 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.3433, allocations: 83.61 kB / 0.5594 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3436, allocations: 131.6 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3438, allocations: 95.69 kB / 0.5596 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3439, allocations: 21.81 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.344, allocations: 31.86 kB / 0.5597 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.3441, allocations: 43.83 kB / 0.5597 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3441, allocations: 8 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.3444, allocations: 111.9 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3444, allocations: 19.92 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.3445, allocations: 39.73 kB / 0.5599 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.3448, allocations: 175.3 kB / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3448, allocations: 0 / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3448, allocations: 0 / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3448, allocations: 3.984 kB / 0.56 GB, free: 4.695 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.0007104/0.3455, allocations: 376.2 kB / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3456, allocations: 8.031 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.526e-05/0.3456, allocations: 34.75 kB / 0.5604 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.3457, allocations: 16.89 kB / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3459, allocations: 150.3 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3459, allocations: 4.312 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3459, allocations: 4.375 kB / 0.5606 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3462, allocations: 91.3 kB / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3462, allocations: 0 / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3462, allocations: 0 / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3462, allocations: 4 kB / 0.5607 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.3465, allocations: 67.92 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.347, allocations: 287.8 kB / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3472, allocations: 70.53 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3474, allocations: 44.95 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3474, allocations: 0 / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3475, allocations: 30.56 kB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3475, allocations: 0 / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001569/0.349, allocations: 392.9 kB / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.3491, allocations: 77.11 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3493, allocations: 165.8 kB / 0.5618 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3493, allocations: 33.8 kB / 0.5618 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.3494, allocations: 100.1 kB / 0.5619 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3494, allocations: 39.69 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.3495, allocations: 21.72 kB / 0.562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3497, allocations: 322.8 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.3499, allocations: 75.86 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.3502, allocations: 85.64 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.3508, allocations: 148.7 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3508, allocations: 0 / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006056/0.3514, allocations: 189.4 kB / 0.5628 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3514, allocations: 8 kB / 0.5628 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3514, allocations: 4 kB / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3514, allocations: 0 / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3516, allocations: 39.95 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3516, allocations: 7.938 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3518, allocations: 19.97 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3518, allocations: 4 kB / 0.5628 GB, free: 1.621 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 (10): * Single equations (assignments): 10 * 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.0001135/0.3519, allocations: 129.8 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.352, allocations: 11.91 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006527/0.3526, allocations: 206.4 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3526, allocations: 8 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3526, allocations: 3.938 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3526, allocations: 0 / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3536, allocations: 473.4 kB / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3536, allocations: 384 / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3538, allocations: 43.89 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3538, allocations: 4 kB / 0.5637 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3539, allocations: 4 kB / 0.5637 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3539, allocations: 0 / 0.5637 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3539, allocations: 0 / 0.5637 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.3545, allocations: 287.2 kB / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.3545, allocations: 15.88 kB / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3546, allocations: 4 kB / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3548, allocations: 27.97 kB / 0.564 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3548, allocations: 11.97 kB / 0.564 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3548, allocations: 8 kB / 0.564 GB, free: 332 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3549, allocations: 123.2 kB / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3549, allocations: 0 / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.3553, allocations: 51.86 kB / 0.5642 GB, free: 156 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 (9): * Single equations (assignments): 9 * 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.002668/0.3579, allocations: 1.223 MB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.3586, allocations: 155.8 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3586, allocations: 0 / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.3589, allocations: 87.98 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3593, allocations: 22.33 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.3624, allocations: 1.849 MB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3628, allocations: 0.7041 MB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3629, allocations: 20.47 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.363, allocations: 35.42 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.363, allocations: 0 / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.3934, allocations: 4.444 MB / 0.5725 GB, free: 7.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 3.125 kB / 0.5725 GB, free: 7.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.623654702998465]