Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0008573/0.0008573, 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.001043/0.001043, 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.9273/0.9273, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2537/0.2537, allocations: 34.24 MB / 294.9 MB, free: 0.7031 MB / 266.7 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.212e-05, allocations: 4.25 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001816/0.001828, allocations: 1.6 MB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.1703, allocations: 0.5544 MB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1704, allocations: 2.625 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1708, allocations: 450.8 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1711, allocations: 303.3 kB / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1714, allocations: 179.2 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1715, allocations: 170.9 kB / 445.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.1716, allocations: 9.047 kB / 445.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.1717, allocations: 123.4 kB / 445.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1718, allocations: 243.7 kB / 445.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1719, allocations: 6.125 kB / 445.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-05/0.1719, allocations: 28.14 kB / 445.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.172, allocations: 85.02 kB / 445.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.172, allocations: 36.31 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1722, allocations: 240.3 kB / 446.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1722, allocations: 0 / 446.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1722, allocations: 0 / 446.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1722, allocations: 0 / 446.2 MB, free: 43.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004353/0.1726, allocations: 0.5866 MB / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1727, allocations: 12.16 kB / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.207e-05/0.1727, allocations: 34.12 kB / 446.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.1727, allocations: 44.06 kB / 446.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1729, allocations: 248.6 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1729, allocations: 384 / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.1729, allocations: 3.469 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.173, allocations: 61.5 kB / 447.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.173, allocations: 192 / 447.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.173, allocations: 3.938 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.173, allocations: 0 / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.732e-05/0.1731, allocations: 44.94 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1734, allocations: 354.9 kB / 447.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.229e-05/0.1735, allocations: 50.42 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.1735, allocations: 24.67 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1736, allocations: 2.938 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.1736, allocations: 34.5 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1736, allocations: 2.344 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002132/0.1738, allocations: 137.2 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1738, allocations: 54.31 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.1743, allocations: 0.8721 MB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.1743, allocations: 28.7 kB / 448.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.1744, allocations: 214.3 kB / 449 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1744, allocations: 6.797 kB / 449 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1744, allocations: 19.7 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.1745, allocations: 360.3 kB / 449.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.1745, allocations: 18.48 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.1745, allocations: 21.73 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.1746, allocations: 48.27 kB / 449.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1746, allocations: 7 kB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.1747, allocations: 115.4 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1747, allocations: 5.812 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1747, allocations: 0 / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1747, allocations: 6.844 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.1748, allocations: 8.875 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1748, allocations: 0 / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.1749, allocations: 5.875 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1749, allocations: 3.188 kB / 449.6 MB, free: 41.12 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 (3): * Single equations (assignments): 3 * 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.0001036/0.175, allocations: 215.4 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.175, allocations: 43.44 kB / 449.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1752, allocations: 126.4 kB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1752, allocations: 4 kB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1752, allocations: 4.922 kB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1752, allocations: 2.75 kB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1753, allocations: 262.2 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1753, allocations: 0 / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.1754, allocations: 10.31 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1754, allocations: 2.969 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1754, allocations: 0 / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1754, allocations: 0 / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1754, allocations: 3.938 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.1755, allocations: 217.4 kB / 450.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.1755, allocations: 46.36 kB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1755, allocations: 0 / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.1756, allocations: 3.188 kB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.1756, allocations: 6.047 kB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1756, allocations: 3.188 kB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.1759, allocations: 0.6572 MB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1759, allocations: 2.656 kB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000161/0.1761, allocations: 20.12 kB / 451.2 MB, free: 40.24 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 (3): * Single equations (assignments): 3 * 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.0007253/0.1768, allocations: 1.012 MB / 452.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1769, allocations: 45.09 kB / 452.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1769, allocations: 0 / 452.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.1769, allocations: 21.62 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1772, allocations: 29.09 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1791, allocations: 3.227 MB / 455.5 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.1792, allocations: 224.2 kB / 455.7 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.1793, allocations: 16.3 kB / 455.8 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.1794, allocations: 115.4 kB / 455.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1794, allocations: 0 / 455.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.1977, allocations: 6.481 MB / 462.4 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.128, allocations: 13.97 kB / 462.4 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.230669566430151]