Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0008451/0.0008451, 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.0008951/0.0008951, 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.9133/0.9133, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2884/0.2884, allocations: 34.24 MB / 294.9 MB, free: 0.7109 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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.937e-06/3.937e-06, allocations: 4 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.814e-05, allocations: 2.844 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.177/0.177, allocations: 1.61 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1778, allocations: 0.5224 MB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1779, allocations: 3.938 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1781, allocations: 108.5 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1783, allocations: 120.9 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1785, allocations: 93.8 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1787, allocations: 97.67 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.1788, allocations: 6.969 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.1788, allocations: 54.72 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.1789, allocations: 67.91 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1789, allocations: 5.219 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.179, allocations: 46.95 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.179, allocations: 24.23 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1791, allocations: 20.12 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1792, allocations: 118.4 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1792, allocations: 0 / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1792, allocations: 0 / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1792, allocations: 0 / 445.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003301/0.1795, allocations: 350.5 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1796, allocations: 8.344 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.146e-05/0.1796, allocations: 39.03 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1796, allocations: 14.75 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1797, allocations: 142.4 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.1797, allocations: 7.219 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1798, allocations: 5.969 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.1799, allocations: 54.61 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1799, allocations: 3.125 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1799, allocations: 5.906 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1799, allocations: 0 / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.1799, allocations: 33.3 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.1802, allocations: 267.6 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.1802, allocations: 50.11 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.1803, allocations: 17.55 kB / 446.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1803, allocations: 2.969 kB / 446.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.1803, allocations: 30.56 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1803, allocations: 2.719 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.1808, allocations: 231 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1808, allocations: 51.41 kB / 446.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.181, allocations: 254.6 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.181, allocations: 26.27 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.181, allocations: 114.4 kB / 446.8 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.181, allocations: 29 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1811, allocations: 22.03 kB / 446.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.1811, allocations: 327.1 kB / 447.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.1811, allocations: 28.44 kB / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1812, allocations: 25.41 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.1813, allocations: 69.83 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1813, allocations: 0 / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001241/0.1814, allocations: 100.2 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1814, allocations: 2.938 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1814, allocations: 3.656 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1814, allocations: 0 / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1815, allocations: 20.98 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1815, allocations: 3.938 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.1815, allocations: 10.34 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1815, allocations: 10.14 kB / 447.4 MB, free: 41.48 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 (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 6.545e-05/0.1816, allocations: 134.1 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.1816, allocations: 16.22 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.1818, allocations: 116.3 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1818, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1818, allocations: 2.625 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1818, allocations: 7.281 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1821, allocations: 370.5 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1821, allocations: 0 / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.1822, allocations: 21.97 kB / 448 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1822, allocations: 4.062 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1822, allocations: 2.25 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1822, allocations: 6.75 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1822, allocations: 0 / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1823, allocations: 212.4 kB / 448.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.1823, allocations: 10.84 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1823, allocations: 3.062 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.1824, allocations: 10.09 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1824, allocations: 17.19 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.1824, allocations: 3.062 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.1825, allocations: 185.4 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 0 / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.1827, allocations: 20.94 kB / 448.5 MB, free: 40.8 MB / 410.7 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.0009853/0.1837, allocations: 1.119 MB / 449.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1838, allocations: 74.39 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1838, allocations: 0 / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.1839, allocations: 34.05 kB / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1842, allocations: 21.94 kB / 449.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1852, allocations: 1.758 MB / 451.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.1853, allocations: 103 kB / 451.6 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.1853, allocations: 9.781 kB / 451.6 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.1854, allocations: 37.53 kB / 451.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1854, allocations: 0 / 451.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.2019, allocations: 3.985 MB / 455.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.072, allocations: 7.453 kB / 455.7 MB, free: 37.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.235857849940658]