Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.002028/0.002028, 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.001673/0.001673, allocations: 215.9 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2259/0.2259, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.91 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.0037/0.3277, allocations: 1.664 MB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3289, allocations: 0.5388 MB / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.329, allocations: 0 / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.3296, allocations: 451.1 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.3303, allocations: 299.3 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3307, allocations: 139.4 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.331, allocations: 167.6 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3311, allocations: 21.8 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3312, allocations: 111.7 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3315, allocations: 247.5 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3315, allocations: 4 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3317, allocations: 51.92 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3318, allocations: 87.69 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.3319, allocations: 75.17 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.3322, allocations: 286.5 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3322, allocations: 0 / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3322, allocations: 0 / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3323, allocations: 0 / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008994/0.3331, allocations: 0.5932 MB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3332, allocations: 8.031 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3332, allocations: 42.69 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.3333, allocations: 44.66 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.3337, allocations: 250.8 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3337, allocations: 4.375 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3337, allocations: 4.375 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3339, allocations: 57.61 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3339, allocations: 7.938 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3339, allocations: 0 / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3339, allocations: 0 / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.334, allocations: 31.97 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3346, allocations: 359.8 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3347, allocations: 50.59 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.3348, allocations: 20.84 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3348, allocations: 4.078 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3348, allocations: 30.56 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3348, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009893/0.3358, allocations: 320.5 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3359, allocations: 59.34 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.3369, allocations: 0.8738 MB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3369, allocations: 29.64 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3371, allocations: 228 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3371, allocations: 27.75 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3372, allocations: 25.7 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3374, allocations: 358.8 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3375, allocations: 23.98 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.3375, allocations: 31.97 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3377, allocations: 60.84 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3377, allocations: 4 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002894/0.338, allocations: 129.4 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.338, allocations: 4 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.338, allocations: 0 / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.338, allocations: 3.938 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3381, allocations: 31.86 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3381, allocations: 0 / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.3382, allocations: 11.98 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3382, allocations: 4 kB / 0.5682 GB, free: 12.21 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 (8): * Single equations (assignments): 8 * 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.0002149/0.3384, allocations: 209.8 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.3385, allocations: 47.67 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.3389, allocations: 161.8 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3389, allocations: 11.94 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3389, allocations: 0 / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3389, allocations: 0 / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.3396, allocations: 478.3 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3396, allocations: 0 / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.3396, allocations: 20 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3397, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3397, allocations: 3.984 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3397, allocations: 4 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3397, allocations: 4.031 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.34, allocations: 243.9 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.3401, allocations: 39.72 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3401, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.3402, allocations: 7.984 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3402, allocations: 4 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3402, allocations: 3.984 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007023/0.3409, allocations: 0.6589 MB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3409, allocations: 0 / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3412, allocations: 35.92 kB / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002391/0.3436, allocations: 1.178 MB / 0.5712 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3438, allocations: 59.95 kB / 0.5713 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3438, allocations: 0 / 0.5713 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.3439, allocations: 39.91 kB / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3444, allocations: 25.5 kB / 0.5714 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.3487, allocations: 3.341 MB / 0.5746 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.349, allocations: 220.1 kB / 0.5748 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.3491, allocations: 12.73 kB / 0.5748 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3493, allocations: 111.4 kB / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3493, allocations: 4.109 kB / 0.575 GB, free: 5.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.3842, allocations: 6.906 MB / 0.5817 GB, free: 14.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.93, allocations: 3.172 kB / 0.5817 GB, free: 14.44 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.068229258060455]