Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001803/0.001803, 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.00224/0.00224, allocations: 214.8 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 63.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3317, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003358/0.335, allocations: 1.682 MB / 0.5623 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3361, allocations: 0.5504 MB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.3362, allocations: 0 / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3364, allocations: 19.8 kB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3367, allocations: 87.61 kB / 0.5629 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.3371, allocations: 139.2 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3373, allocations: 91.69 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3374, allocations: 17.83 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.3375, allocations: 43.84 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.3376, allocations: 43.7 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3376, allocations: 4 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3378, allocations: 99.94 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.3378, allocations: 19.92 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3379, allocations: 31.84 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3382, allocations: 175.2 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3382, allocations: 0 / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3382, allocations: 0 / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3382, allocations: 0 / 0.5635 GB, free: 1.227 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.0006598/0.3389, allocations: 377.5 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3389, allocations: 12.03 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.3389, allocations: 30.75 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.339, allocations: 12.89 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3392, allocations: 140 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3392, allocations: 4.375 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3392, allocations: 8.312 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.3395, allocations: 121 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3395, allocations: 0 / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3395, allocations: 4 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3395, allocations: 0 / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.3398, allocations: 67.92 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3403, allocations: 279.8 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3406, allocations: 66.58 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3407, allocations: 44.91 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3407, allocations: 3.938 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3408, allocations: 34.55 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.031e-06/0.3408, allocations: 0 / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001511/0.3423, allocations: 392.9 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3423, allocations: 77.11 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3425, allocations: 165.6 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3425, allocations: 33.7 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.3426, allocations: 100.1 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3426, allocations: 35.69 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3427, allocations: 17.72 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3428, allocations: 322.8 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.3431, allocations: 75.92 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.3434, allocations: 107.3 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.3439, allocations: 156.7 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3439, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006406/0.3446, allocations: 193.8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3446, allocations: 4 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3446, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3446, allocations: 3.984 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3449, allocations: 43.95 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3449, allocations: 3.938 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.345, allocations: 27.97 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.345, allocations: 4.375 kB / 0.5664 GB, free: 14.09 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 (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.0001301/0.3452, allocations: 121.8 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.3452, allocations: 11.91 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.3459, allocations: 210.1 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3459, allocations: 0 / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3459, allocations: 3.938 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3459, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.3469, allocations: 461.4 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3469, allocations: 0 / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.347, allocations: 39.89 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.347, allocations: 3.938 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3471, allocations: 0 / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3471, allocations: 0 / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3471, allocations: 4 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.3477, allocations: 283.2 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.3478, allocations: 19.88 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3478, allocations: 4 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.348, allocations: 27.97 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.348, allocations: 7.984 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.348, allocations: 4 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3482, allocations: 127.2 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3482, allocations: 0 / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.3485, allocations: 51.86 kB / 0.5677 GB, free: 12.66 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 (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.002738/0.3512, allocations: 1.255 MB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.3519, allocations: 155.7 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3519, allocations: 4 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3522, allocations: 79.86 kB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3526, allocations: 15.98 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.3556, allocations: 1.852 MB / 0.571 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.3557, allocations: 93.25 kB / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.427e-05/0.3558, allocations: 24.47 kB / 0.5711 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3559, allocations: 35.42 kB / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3559, allocations: 0 / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.387, allocations: 4.967 MB / 0.576 GB, free: 4.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 14.23 kB / 0.576 GB, free: 4.301 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.935769969131798]