Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0008269/0.0008269, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008441/0.0008441, allocations: 170 kB / 23.95 MB, free: 0.6094 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.864/0.864, 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.2214/0.2214, allocations: 32.79 MB / 293.5 MB, free: 1.207 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.401e-05, allocations: 6.281 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002316/0.00234, allocations: 1.647 MB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.003031, allocations: 0.5685 MB / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.003092, allocations: 0 / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.003555, allocations: 455.1 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.003926, allocations: 295.2 kB / 442.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.004259, allocations: 180.5 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.004456, allocations: 175.6 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.004545, allocations: 12 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.004643, allocations: 115.8 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.00482, allocations: 251.5 kB / 443.3 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004836, allocations: 4 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.004903, allocations: 31.92 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.004981, allocations: 87.7 kB / 443.4 MB, free: 440 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.005018, allocations: 35.75 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.00524, allocations: 247.1 kB / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005242, allocations: 3.938 kB / 443.7 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005243, allocations: 8 kB / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005248, allocations: 0 / 443.7 MB, free: 144 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.1704/0.1757, allocations: 0.5805 MB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1757, allocations: 14.11 kB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.1757, allocations: 32.81 kB / 444.3 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1758, allocations: 50.33 kB / 444.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.176, allocations: 244.3 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.176, allocations: 1.625 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.176, allocations: 3.75 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1761, allocations: 59.03 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1761, allocations: 1.906 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1761, allocations: 0.75 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1761, allocations: 6.844 kB / 444.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.1762, allocations: 33.81 kB / 444.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.1766, allocations: 363.5 kB / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1767, allocations: 50.77 kB / 445.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.1768, allocations: 10.8 kB / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1768, allocations: 5.984 kB / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.1768, allocations: 32.97 kB / 445.2 MB, free: 45.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.1768, allocations: 0 / 445.2 MB, free: 45.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004232/0.1772, allocations: 248 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1773, allocations: 55.16 kB / 445.4 MB, free: 45.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.1777, allocations: 0.8744 MB / 446.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1777, allocations: 29.7 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.1778, allocations: 224.1 kB / 446.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1778, allocations: 24.94 kB / 446.6 MB, free: 45.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1778, allocations: 16.72 kB / 446.6 MB, free: 45.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.1779, allocations: 365.9 kB / 447 MB, free: 44.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1779, allocations: 21.91 kB / 447 MB, free: 44.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.178, allocations: 25.86 kB / 447 MB, free: 44.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.1781, allocations: 59.67 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1781, allocations: 2.625 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001192/0.1782, allocations: 121.1 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1782, allocations: 5.844 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1782, allocations: 0 / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1782, allocations: 4.531 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.1782, allocations: 14 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1782, allocations: 2.969 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.1783, allocations: 8.609 kB / 447.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1783, allocations: 0 / 447.2 MB, free: 44.82 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.0001053/0.1784, allocations: 219.8 kB / 447.4 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1784, allocations: 45.5 kB / 447.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1786, allocations: 142.4 kB / 447.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1786, allocations: 0 / 447.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1786, allocations: 0 / 447.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1786, allocations: 3.938 kB / 447.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1789, allocations: 445.4 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1789, allocations: 0 / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.179, allocations: 11.88 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.179, allocations: 3.031 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.179, allocations: 2.875 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.179, allocations: 3.203 kB / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.179, allocations: 0 / 448.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.1791, allocations: 234.1 kB / 448.3 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.1791, allocations: 35.34 kB / 448.3 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1791, allocations: 6.031 kB / 448.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.1792, allocations: 10.05 kB / 448.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.1792, allocations: 12.48 kB / 448.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1792, allocations: 2.875 kB / 448.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003294/0.1795, allocations: 0.6643 MB / 449 MB, free: 43.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1795, allocations: 0 / 449 MB, free: 43.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.1797, allocations: 16.75 kB / 449.1 MB, free: 43.82 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.0008933/0.1806, allocations: 1.087 MB / 450.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1807, allocations: 57.02 kB / 450.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1807, allocations: 0 / 450.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.1808, allocations: 35.09 kB / 450.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1811, allocations: 22.91 kB / 450.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1832, allocations: 3.283 MB / 453.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.1833, allocations: 221.4 kB / 453.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1834, allocations: 22.83 kB / 453.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.1835, allocations: 119 kB / 453.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1835, allocations: 0 / 453.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2015, allocations: 6.79 MB / 460.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.236, allocations: 3.094 kB / 460.7 MB, free: 39.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_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_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.234481171704829]