Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0007913/0.0007913, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008402/0.0008402, allocations: 174.3 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.9012/0.9012, allocations: 177.1 MB / 204.2 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.2544/0.2544, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.692e-05, allocations: 2.281 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.1775/0.1776, allocations: 1.702 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1787, allocations: 0.9797 MB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.1788, allocations: 1.25 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1791, allocations: 44.12 kB / 445 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1794, allocations: 98.81 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1795, allocations: 75.64 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1796, allocations: 114.9 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.1797, allocations: 10.66 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.1798, allocations: 56.34 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.1799, allocations: 25.17 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1799, allocations: 9.719 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.1799, allocations: 45.98 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.18, allocations: 19.23 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.18, allocations: 19.78 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1802, allocations: 124.9 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1802, allocations: 0 / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1802, allocations: 0 / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1802, allocations: 2.625 kB / 445.6 MB, free: 42.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003413/0.1805, allocations: 344.9 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1806, allocations: 11.22 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.347e-05/0.1806, allocations: 37.48 kB / 446 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.1806, allocations: 13.61 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1808, allocations: 159 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1808, allocations: 384 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1808, allocations: 6.422 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1809, allocations: 60.72 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1809, allocations: 0 / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1809, allocations: 3.062 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1809, allocations: 2.719 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.181, allocations: 20.84 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.1812, allocations: 258.4 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1813, allocations: 62.11 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1814, allocations: 26.81 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.1814, allocations: 0 / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.1815, allocations: 72.23 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1815, allocations: 2.688 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004454/0.1819, allocations: 179.9 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.182, allocations: 55.41 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1821, allocations: 213 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1821, allocations: 28.42 kB / 447.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.1822, allocations: 103.8 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1822, allocations: 25.23 kB / 447.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1822, allocations: 28.53 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.1823, allocations: 324.2 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1823, allocations: 26.73 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.1823, allocations: 34.25 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.1824, allocations: 67.84 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1824, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.1825, allocations: 107.9 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1826, allocations: 5.969 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1826, allocations: 3.047 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1826, allocations: 0 / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.1826, allocations: 14.47 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1827, allocations: 2.156 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.1827, allocations: 10.88 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1827, allocations: 6.875 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.78e-05/0.1828, allocations: 137.3 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1828, allocations: 9.859 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.1829, allocations: 121.2 kB / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1829, allocations: 0 / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1829, allocations: 0 / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1829, allocations: 4.016 kB / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1832, allocations: 372.5 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1832, allocations: 2.906 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.1832, allocations: 12.02 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1832, allocations: 4.031 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1832, allocations: 6.062 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1832, allocations: 4.719 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1832, allocations: 3.938 kB / 448.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1833, allocations: 219.3 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.1833, allocations: 9.734 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1834, allocations: 3.328 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.1834, allocations: 2.906 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1834, allocations: 14.27 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1834, allocations: 2.938 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.1835, allocations: 162.2 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1835, allocations: 0 / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.1837, allocations: 28.95 kB / 448.9 MB, free: 40.5 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008667/0.1845, allocations: 1.144 MB / 450.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1847, allocations: 57.19 kB / 450.1 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1847, allocations: 3.938 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.1847, allocations: 24.09 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1849, allocations: 48.27 kB / 450.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.1858, allocations: 1.699 MB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.477e-05/0.1859, allocations: 107.1 kB / 452 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.186, allocations: 21.5 kB / 452 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.186, allocations: 39.53 kB / 452.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.186, allocations: 0 / 452.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2019, allocations: 4.331 MB / 456.4 MB, free: 36.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.244, allocations: 5.312 kB / 456.4 MB, free: 36.8 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.CombiTimeTable.Test25_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.34436973836273]