Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0008629/0.0008629, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001313/0.001313, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2861/0.2861, allocations: 32.78 MB / 293.5 MB, free: 1.242 MB / 266.7 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.744e-05, allocations: 2.844 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.0021/0.002117, allocations: 1.652 MB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007032/0.00282, allocations: 0.5374 MB / 441.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.002868, allocations: 0 / 441.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.003282, allocations: 447.1 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.00363, allocations: 299.1 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.003871, allocations: 135.8 kB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.004044, allocations: 171.6 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.004136, allocations: 11.98 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.004248, allocations: 119.7 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.004429, allocations: 239.7 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.004445, allocations: 4 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.004517, allocations: 35.92 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.004607, allocations: 87.64 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.004642, allocations: 35.75 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.004872, allocations: 251 kB / 443.6 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004874, allocations: 3.938 kB / 443.6 MB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.004875, allocations: 4 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004881, allocations: 0 / 443.6 MB, free: 220 kB / 410.7 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.17/0.1749, allocations: 0.5797 MB / 444.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.175, allocations: 7.812 kB / 444.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.175, allocations: 38.8 kB / 444.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.175, allocations: 41.75 kB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1752, allocations: 245.6 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1752, allocations: 4.062 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1753, allocations: 5.281 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1754, allocations: 53.09 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1754, allocations: 4.5 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1754, allocations: 0.5625 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1754, allocations: 0 / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.1755, allocations: 26.02 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1758, allocations: 359.1 kB / 444.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.176, allocations: 44.52 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.176, allocations: 17.33 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1761, allocations: 6.375 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.1761, allocations: 30.56 kB / 445 MB, free: 45.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1761, allocations: 1.25 kB / 445 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004516/0.1765, allocations: 240.3 kB / 445.3 MB, free: 45.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.1766, allocations: 54.38 kB / 445.3 MB, free: 45.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.177, allocations: 0.8718 MB / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.177, allocations: 28.98 kB / 446.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1771, allocations: 223.9 kB / 446.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1771, allocations: 25.72 kB / 446.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.1772, allocations: 19.44 kB / 446.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.1772, allocations: 359.6 kB / 446.8 MB, free: 44.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.1772, allocations: 21.78 kB / 446.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.1773, allocations: 23.2 kB / 446.9 MB, free: 44.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.1773, allocations: 47.31 kB / 446.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1773, allocations: 0 / 446.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.1775, allocations: 118.4 kB / 447 MB, free: 44.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1775, allocations: 5.812 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1775, allocations: 3.938 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1775, allocations: 1.531 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.1775, allocations: 14.27 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1775, allocations: 0.9375 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.1776, allocations: 5.797 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1776, allocations: 2.562 kB / 447.1 MB, free: 44.89 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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.0001032/0.1777, allocations: 216.2 kB / 447.3 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1777, allocations: 49.06 kB / 447.3 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1779, allocations: 135.3 kB / 447.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1779, allocations: 2.875 kB / 447.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1779, allocations: 0 / 447.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1779, allocations: 4.062 kB / 447.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.1782, allocations: 436.3 kB / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1782, allocations: 0 / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1782, allocations: 11.42 kB / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1782, allocations: 5.312 kB / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1782, allocations: 0 / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1782, allocations: 3.203 kB / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1782, allocations: 0 / 447.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1783, allocations: 218.6 kB / 448.1 MB, free: 44.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.1784, allocations: 39.31 kB / 448.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1784, allocations: 6.875 kB / 448.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.1784, allocations: 6.203 kB / 448.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.1785, allocations: 5.438 kB / 448.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1785, allocations: 0 / 448.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.1788, allocations: 0.6635 MB / 448.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1788, allocations: 0 / 448.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.1789, allocations: 27.25 kB / 448.9 MB, free: 43.89 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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.0008255/0.1798, allocations: 1.072 MB / 450 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1799, allocations: 51.06 kB / 450 MB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1799, allocations: 0 / 450 MB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.1799, allocations: 21.52 kB / 450 MB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1803, allocations: 29.95 kB / 450.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1822, allocations: 3.254 MB / 453.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.1823, allocations: 215.8 kB / 453.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.1823, allocations: 23.47 kB / 453.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.1824, allocations: 101 kB / 453.6 MB, free: 41.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1824, allocations: 0 / 453.6 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.2014, allocations: 6.734 MB / 460.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.313, allocations: 6.156 kB / 460.4 MB, free: 39.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.519086273387074]