Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001502/0.001502, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.349/1.349, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.003/1.003, allocations: 120.6 MB / 434.5 MB, free: 0.6094 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 75.89 kB / 0.6067 GB, free: 10.74 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1559, allocations: 85.87 MB / 0.6905 GB, free: 4.66 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002894/0.1588, allocations: 1.42 MB / 0.6919 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1599, allocations: 0.5416 MB / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.16, allocations: 0 / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1603, allocations: 227.7 kB / 0.6927 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.1608, allocations: 291.5 kB / 0.6929 GB, free: 2.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1611, allocations: 75.78 kB / 0.693 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.1617, allocations: 0.5968 MB / 0.6936 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1618, allocations: 11.92 kB / 0.6936 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.1623, allocations: 315.4 kB / 0.6939 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.163, allocations: 0.5852 MB / 0.6945 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1631, allocations: 36 kB / 0.6945 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.1633, allocations: 111.9 kB / 0.6946 GB, free: 468 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.1648, allocations: 1.305 MB / 0.6959 GB, free: 15.15 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.1654, allocations: 0.5103 MB / 0.6964 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.1671, allocations: 1.677 MB / 0.698 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1671, allocations: 0 / 0.698 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1671, allocations: 0 / 0.698 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 5.329e-05/0.1671, allocations: 0 / 0.698 GB, free: 12.95 MB / 0.5295 GB 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.003744/0.1709, allocations: 2.804 MB / 0.7008 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1709, allocations: 8.031 kB / 0.7008 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.171, allocations: 34.69 kB / 0.7008 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.1714, allocations: 302.9 kB / 0.7011 GB, free: 9.738 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.1767, allocations: 3.229 MB / 0.7043 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1768, allocations: 384 / 0.7043 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1768, allocations: 16.38 kB / 0.7043 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.177, allocations: 175.4 kB / 0.7044 GB, free: 6.23 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.177, allocations: 0 / 0.7044 GB, free: 6.23 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.1771, allocations: 8 kB / 0.7044 GB, free: 6.223 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1771, allocations: 0 / 0.7044 GB, free: 6.223 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1772, allocations: 113.6 kB / 0.7046 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.1782, allocations: 0.9825 MB / 0.7055 GB, free: 5.086 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1783, allocations: 88.28 kB / 0.7056 GB, free: 4.984 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1784, allocations: 82.59 kB / 0.7057 GB, free: 4.895 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1784, allocations: 4 kB / 0.7057 GB, free: 4.891 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1787, allocations: 218.6 kB / 0.7059 GB, free: 4.652 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1787, allocations: 0 / 0.7059 GB, free: 4.652 MB / 0.5295 GB Notification: Performance of matching and sorting (n=8): time 0.0008903/0.1796, allocations: 0.7388 MB / 0.7066 GB, free: 3.887 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1797, allocations: 81.11 kB / 0.7067 GB, free: 3.789 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/0.183, allocations: 3.185 MB / 0.7098 GB, free: 0.625 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.1831, allocations: 33.7 kB / 0.7098 GB, free: 0.5859 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.1842, allocations: 1.24 MB / 0.711 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1842, allocations: 23.81 kB / 0.7111 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1843, allocations: 77.72 kB / 0.7111 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1845, allocations: 310 kB / 0.7114 GB, free: 14.93 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1846, allocations: 81.69 kB / 0.7115 GB, free: 14.84 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.1847, allocations: 81.7 kB / 0.7116 GB, free: 14.76 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1849, allocations: 176.2 kB / 0.7118 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1849, allocations: 0 / 0.7118 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006955/0.1856, allocations: 0.6668 MB / 0.7124 GB, free: 13.88 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.1856, allocations: 33.7 kB / 0.7124 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1856, allocations: 0 / 0.7124 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1856, allocations: 3.984 kB / 0.7124 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.1857, allocations: 7.938 kB / 0.7125 GB, free: 13.83 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1857, allocations: 4 kB / 0.7125 GB, free: 13.83 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1859, allocations: 11.94 kB / 0.7125 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.186, allocations: 116 kB / 0.7126 GB, free: 13.7 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0007915/0.1868, allocations: 0.7412 MB / 0.7133 GB, free: 12.95 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.1871, allocations: 317.9 kB / 0.7136 GB, free: 12.63 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.1874, allocations: 333.8 kB / 0.7139 GB, free: 12.31 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1874, allocations: 0 / 0.7139 GB, free: 12.31 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1874, allocations: 0 / 0.7139 GB, free: 12.31 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1874, allocations: 0 / 0.7139 GB, free: 12.31 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.1884, allocations: 1.053 MB / 0.715 GB, free: 11.22 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1884, allocations: 3.938 kB / 0.715 GB, free: 11.21 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1884, allocations: 4 kB / 0.715 GB, free: 11.21 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1884, allocations: 4 kB / 0.715 GB, free: 11.21 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1884, allocations: 35.94 kB / 0.715 GB, free: 11.17 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1884, allocations: 0 / 0.715 GB, free: 11.17 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1884, allocations: 0 / 0.715 GB, free: 11.17 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.1892, allocations: 0.7152 MB / 0.7157 GB, free: 10.43 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.1896, allocations: 277.9 kB / 0.716 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.1898, allocations: 8.188 kB / 0.716 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1899, allocations: 12 kB / 0.716 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.19, allocations: 19.95 kB / 0.716 GB, free: 10.11 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/0.1901, allocations: 119.9 kB / 0.7161 GB, free: 9.996 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.00244/0.1925, allocations: 2.203 MB / 0.7183 GB, free: 7.812 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9e-08/0.1925, allocations: 4 kB / 0.7183 GB, free: 7.809 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0003475/0.1929, allocations: 107.9 kB / 0.7184 GB, free: 7.703 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.001132/0.194, allocations: 1.305 MB / 0.7197 GB, free: 6.355 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1943, allocations: 250.7 kB / 0.7199 GB, free: 6.086 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1943, allocations: 0 / 0.7199 GB, free: 6.086 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1945, allocations: 153.1 kB / 0.72 GB, free: 5.918 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.1951, allocations: 223.5 kB / 0.7202 GB, free: 5.699 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/0.2142, allocations: 17.02 MB / 0.7369 GB, free: 4.516 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.2154, allocations: 1.12 MB / 0.738 GB, free: 3.363 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.001127/0.2165, allocations: 0.5923 MB / 0.7385 GB, free: 2.766 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000938/0.2175, allocations: 0.9914 MB / 0.7395 GB, free: 1.773 MB / 0.5608 GB Notification: Performance of SimCode: time 1.012e-06/0.2175, allocations: 3.938 kB / 0.7395 GB, free: 1.77 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5725/0.7899, allocations: 41.53 MB / 0.7801 GB, free: 56.21 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.86, allocations: 7.688 kB / 0.7801 GB, free: 56.21 MB / 0.5767 GB " [Timeout remaining time 285] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.124129700940102]