Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001367/0.001367, 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.002365/0.002365, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.82 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.2412/0.2412, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002391/0.002391, allocations: 63.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003633/0.3457, allocations: 1.685 MB / 0.5586 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.347, allocations: 0.5738 MB / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.347, allocations: 0 / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3473, allocations: 27.83 kB / 0.5592 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3476, allocations: 91.55 kB / 0.5593 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.3481, allocations: 183.2 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3483, allocations: 95.7 kB / 0.5596 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3484, allocations: 17.75 kB / 0.5596 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.3485, allocations: 43.84 kB / 0.5596 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.3486, allocations: 43.83 kB / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3486, allocations: 4 kB / 0.5597 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3488, allocations: 99.88 kB / 0.5598 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.3489, allocations: 31.84 kB / 0.5598 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.3489, allocations: 27.86 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.3493, allocations: 175.2 kB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3493, allocations: 3.984 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3493, allocations: 0 / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.3494, allocations: 0 / 0.56 GB, free: 4.457 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.0007597/0.3501, allocations: 373.5 kB / 0.5603 GB, free: 4.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3502, allocations: 12.03 kB / 0.5604 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3502, allocations: 34.75 kB / 0.5604 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3503, allocations: 8.891 kB / 0.5604 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3505, allocations: 148 kB / 0.5605 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3505, allocations: 8.312 kB / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3505, allocations: 4.375 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3508, allocations: 124.9 kB / 0.5607 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3509, allocations: 4 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3509, allocations: 0 / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3509, allocations: 0 / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3512, allocations: 71.91 kB / 0.5607 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.3519, allocations: 303.8 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3521, allocations: 82.47 kB / 0.5611 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3523, allocations: 48.94 kB / 0.5612 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3523, allocations: 4 kB / 0.5612 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3524, allocations: 30.56 kB / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3524, allocations: 0 / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001675/0.354, allocations: 413 kB / 0.5616 GB, free: 2.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3541, allocations: 89.05 kB / 0.5617 GB, free: 2.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3543, allocations: 162.2 kB / 0.5618 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3543, allocations: 25.7 kB / 0.5619 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.3544, allocations: 104.1 kB / 0.5619 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3544, allocations: 31.81 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.3545, allocations: 25.7 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3547, allocations: 330.8 kB / 0.5623 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.355, allocations: 75.92 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.3553, allocations: 127.4 kB / 0.5625 GB, free: 1.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.3559, allocations: 168.7 kB / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3559, allocations: 0 / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007205/0.3566, allocations: 205.5 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3566, allocations: 8 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3566, allocations: 7.922 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3567, allocations: 0 / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3569, allocations: 39.95 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3569, allocations: 7.938 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.357, allocations: 27.92 kB / 0.563 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3571, allocations: 7.984 kB / 0.563 GB, free: 1.18 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.000116/0.3572, allocations: 121.8 kB / 0.5631 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.3572, allocations: 7.953 kB / 0.5631 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.3579, allocations: 230.1 kB / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3579, allocations: 4 kB / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.358, allocations: 4.312 kB / 0.5633 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.358, allocations: 0 / 0.5633 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.359, allocations: 489.2 kB / 0.5638 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.359, allocations: 0 / 0.5638 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3592, allocations: 35.91 kB / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3592, allocations: 0 / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3592, allocations: 7.984 kB / 0.5638 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3592, allocations: 8 kB / 0.5638 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3592, allocations: 384 / 0.5638 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.36, allocations: 291.3 kB / 0.5641 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.36, allocations: 23.83 kB / 0.5641 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.36, allocations: 4 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3602, allocations: 27.97 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.3603, allocations: 11.98 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3603, allocations: 4 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3604, allocations: 128.1 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3604, allocations: 0 / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.3608, allocations: 47.88 kB / 0.5643 GB, free: 15.68 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.002997/0.3638, allocations: 1.27 MB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007195/0.3645, allocations: 175.8 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3645, allocations: 0 / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.3648, allocations: 83.86 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3652, allocations: 30.58 kB / 0.5659 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.3684, allocations: 1.94 MB / 0.5678 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.3685, allocations: 96.19 kB / 0.5679 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3686, allocations: 24.47 kB / 0.5679 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.3687, allocations: 39.41 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3687, allocations: 0 / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4011, allocations: 5.099 MB / 0.5729 GB, free: 7.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.61, allocations: 14.8 kB / 0.5729 GB, free: 7.051 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.01487003080547]