Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.0008399/0.0008399, 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.0008072/0.0008072, 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.8711/0.8711, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2373/0.2373, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.731e-05, allocations: 4.391 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002285/0.002313, allocations: 1.739 MB / 441.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003514, allocations: 0.9858 MB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.003591, allocations: 0 / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.003902, allocations: 111.5 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.004198, allocations: 135.4 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.00437, allocations: 79.66 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.004557, allocations: 143.5 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004659, allocations: 13.59 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.004754, allocations: 75.8 kB / 443 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.004853, allocations: 71.84 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004871, allocations: 4 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.004966, allocations: 59.92 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.00503, allocations: 43.77 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.005075, allocations: 31.88 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.005577, allocations: 159.4 kB / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005581, allocations: 0 / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.005583, allocations: 0 / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005588, allocations: 3.938 kB / 443.3 MB, free: 0.4922 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000469/0.006057, allocations: 389.2 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.006096, allocations: 8.031 kB / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.006129, allocations: 42.73 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.006164, allocations: 16.84 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.173/0.1791, allocations: 159 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1791, allocations: 4.781 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1792, allocations: 7.812 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1793, allocations: 79.58 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1793, allocations: 0 / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1794, allocations: 2.156 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1794, allocations: 2.969 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.1795, allocations: 43.67 kB / 444.1 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1798, allocations: 293.8 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.18, allocations: 78.75 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.18, allocations: 29.81 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.18, allocations: 0 / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.1802, allocations: 84.33 kB / 444.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.1802, allocations: 0 / 444.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000575/0.1807, allocations: 326.3 kB / 444.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1808, allocations: 58.41 kB / 444.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1809, allocations: 264.1 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.1809, allocations: 32.39 kB / 445.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1809, allocations: 113.6 kB / 445.3 MB, free: 45.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.181, allocations: 50.67 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.181, allocations: 32.2 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.181, allocations: 328.3 kB / 445.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.1811, allocations: 42.67 kB / 445.8 MB, free: 45.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.1811, allocations: 63.03 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.1812, allocations: 99.31 kB / 445.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1812, allocations: 0 / 445.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001426/0.1813, allocations: 181.7 kB / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1814, allocations: 7.219 kB / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1814, allocations: 3.188 kB / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1814, allocations: 0 / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.1814, allocations: 29.55 kB / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1814, allocations: 3.344 kB / 446.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.1815, allocations: 6.719 kB / 446.1 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1815, allocations: 5.344 kB / 446.1 MB, free: 45.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 (16): * Single equations (assignments): 16 * 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.483e-05/0.1815, allocations: 139.8 kB / 446.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.1816, allocations: 20.66 kB / 446.3 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.1818, allocations: 208.8 kB / 446.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1818, allocations: 3.344 kB / 446.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1818, allocations: 0 / 446.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1818, allocations: 7.109 kB / 446.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1821, allocations: 480.7 kB / 447 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1821, allocations: 3.094 kB / 447 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.1822, allocations: 24.33 kB / 447 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1822, allocations: 3.375 kB / 447 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1822, allocations: 2.781 kB / 447 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1822, allocations: 0 / 447 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1822, allocations: 3.938 kB / 447 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.1823, allocations: 286.5 kB / 447.3 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.1823, allocations: 13.47 kB / 447.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1823, allocations: 10.75 kB / 447.3 MB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.1824, allocations: 7.844 kB / 447.3 MB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1824, allocations: 17.05 kB / 447.3 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1824, allocations: 5.688 kB / 447.4 MB, free: 44.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.1825, allocations: 201.2 kB / 447.5 MB, free: 44.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 0 / 447.5 MB, free: 44.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000187/0.1827, allocations: 41.92 kB / 447.6 MB, free: 44.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001052/0.1838, allocations: 1.262 MB / 448.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1839, allocations: 111.6 kB / 449 MB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1839, allocations: 0 / 449 MB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.184, allocations: 58.2 kB / 449 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1843, allocations: 32.83 kB / 449 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1855, allocations: 2.037 MB / 451.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.1856, allocations: 121.1 kB / 451.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.1856, allocations: 35.17 kB / 451.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.1857, allocations: 54.22 kB / 451.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1857, allocations: 0 / 451.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.2034, allocations: 5.242 MB / 456.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.171, allocations: 3.234 kB / 456.5 MB, free: 40.35 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.22047464735806]