Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009402/0.0009402, 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.0009646/0.0009646, 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.9023/0.9023, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2273/0.2273, allocations: 32.8 MB / 293.5 MB, free: 1.215 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.074e-05, allocations: 3.688 kB / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002315/0.002336, allocations: 1.794 MB / 441.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003625, allocations: 1.054 MB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.003716, allocations: 7.938 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.004134, allocations: 307 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.004513, allocations: 263 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.004732, allocations: 107.6 kB / 443.2 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.004992, allocations: 267.2 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.005036, allocations: 5.812 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.005181, allocations: 151.6 kB / 443.6 MB, free: 232 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.005356, allocations: 211.6 kB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.005377, allocations: 8 kB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1695/0.1749, allocations: 50.64 kB / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.175, allocations: 141 kB / 444 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.1751, allocations: 74.09 kB / 444.1 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.1754, allocations: 355.7 kB / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1754, allocations: 0 / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1754, allocations: 0 / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1754, allocations: 7.781 kB / 444.4 MB, free: 43.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000589/0.176, allocations: 0.6805 MB / 445.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.176, allocations: 11.56 kB / 445.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.1761, allocations: 34.19 kB / 445.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1761, allocations: 51.64 kB / 445.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1765, allocations: 390.2 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1765, allocations: 10.53 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1765, allocations: 3.125 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1766, allocations: 85.67 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1766, allocations: 0 / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1766, allocations: 10.12 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1767, allocations: 0 / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.1767, allocations: 40.53 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.1769, allocations: 325 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1771, allocations: 106.4 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.1771, allocations: 41.12 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1771, allocations: 0.5625 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.1773, allocations: 121.3 kB / 446.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1773, allocations: 0 / 446.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002888/0.1776, allocations: 215.7 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1776, allocations: 79.83 kB / 446.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.1782, allocations: 1.063 MB / 447.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.1782, allocations: 25.7 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.1783, allocations: 245.1 kB / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1783, allocations: 29.44 kB / 447.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1784, allocations: 30.53 kB / 448 MB, free: 42.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.1784, allocations: 369.4 kB / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.1785, allocations: 36.94 kB / 448.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.1785, allocations: 55.8 kB / 448.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.1786, allocations: 92.78 kB / 448.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1786, allocations: 0 / 448.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001607/0.1788, allocations: 172.4 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1788, allocations: 9.656 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1788, allocations: 6.281 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1788, allocations: 0 / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.1789, allocations: 26.94 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1789, allocations: 0 / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.179, allocations: 16.08 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.179, allocations: 4.188 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001239/0.1791, allocations: 230.2 kB / 449 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1791, allocations: 55.44 kB / 449 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1793, allocations: 209 kB / 449.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1793, allocations: 0 / 449.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1793, allocations: 3.344 kB / 449.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1793, allocations: 2.938 kB / 449.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1795, allocations: 297.2 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1795, allocations: 0 / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.1795, allocations: 13.83 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1795, allocations: 2.766 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1795, allocations: 10.44 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1795, allocations: 5.078 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1795, allocations: 3.062 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1797, allocations: 226 kB / 449.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1797, allocations: 63.52 kB / 449.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1798, allocations: 3.938 kB / 449.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.1798, allocations: 13 kB / 449.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1798, allocations: 6.219 kB / 449.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1799, allocations: 5.625 kB / 449.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004164/0.1803, allocations: 0.7912 MB / 450.7 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1803, allocations: 0 / 450.7 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.1805, allocations: 51.44 kB / 450.7 MB, free: 40.99 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008529/0.1813, allocations: 1.092 MB / 451.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1815, allocations: 87.95 kB / 451.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1815, allocations: 0 / 451.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.1815, allocations: 47.67 kB / 451.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.1818, allocations: 72.55 kB / 452 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1849, allocations: 4.634 MB / 456.6 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.185, allocations: 242.4 kB / 456.9 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.1851, allocations: 64.36 kB / 456.9 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1852, allocations: 156.4 kB / 457.1 MB, free: 37.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1852, allocations: 4 kB / 457.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2031, allocations: 10.13 MB / 467.2 MB, free: 35.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.394, allocations: 2.969 kB / 467.2 MB, free: 35.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.485937424004078]