Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001611/0.001611, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00143/0.00143, allocations: 206.2 kB / 24.52 MB, free: 4.156 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 8 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.014/1.014, allocations: 120.6 MB / 435.3 MB, free: 0.8438 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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="cs",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.001937/0.001937, allocations: 68.19 kB / 0.6075 GB, free: 10.97 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 85.87 MB / 0.6914 GB, free: 4.891 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003077/0.1748, allocations: 1.423 MB / 0.6928 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1762, allocations: 0.6037 MB / 0.6933 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.1762, allocations: 0 / 0.6933 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1764, allocations: 23.84 kB / 0.6934 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.1768, allocations: 67.86 kB / 0.6934 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1771, allocations: 79.78 kB / 0.6935 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1773, allocations: 87.75 kB / 0.6936 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1774, allocations: 8.266 kB / 0.6936 GB, free: 2.59 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1776, allocations: 51.84 kB / 0.6936 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1777, allocations: 51.88 kB / 0.6937 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1778, allocations: 4 kB / 0.6937 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1779, allocations: 79.86 kB / 0.6938 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1781, allocations: 71.8 kB / 0.6938 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.1782, allocations: 43.62 kB / 0.6939 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1784, allocations: 151.3 kB / 0.694 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1784, allocations: 0 / 0.694 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1784, allocations: 4 kB / 0.694 GB, free: 2.141 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.1785, allocations: 0 / 0.694 GB, free: 2.141 MB / 0.5139 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.0006306/0.1791, allocations: 403 kB / 0.6944 GB, free: 1.711 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1791, allocations: 12.03 kB / 0.6944 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.1792, allocations: 8.172 kB / 0.6944 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1792, allocations: 30.75 kB / 0.6945 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1792, allocations: 20.8 kB / 0.6945 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.1798, allocations: 261.4 kB / 0.6947 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1798, allocations: 384 / 0.6947 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1798, allocations: 4.375 kB / 0.6947 GB, free: 1.344 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.18, allocations: 57.62 kB / 0.6948 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.18, allocations: 0 / 0.6948 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.18, allocations: 0 / 0.6948 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.18, allocations: 0 / 0.6948 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.1801, allocations: 23.98 kB / 0.6948 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.1803, allocations: 172.7 kB / 0.695 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.655e-05/0.1804, allocations: 30.52 kB / 0.695 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1804, allocations: 28.89 kB / 0.695 GB, free: 0.9766 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.1805, allocations: 7.938 kB / 0.695 GB, free: 0.9688 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.1806, allocations: 97.09 kB / 0.6951 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1806, allocations: 0 / 0.6951 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.181, allocations: 171.4 kB / 0.6953 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.1811, allocations: 81.11 kB / 0.6954 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1813, allocations: 233.5 kB / 0.6956 GB, free: 352 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1813, allocations: 25.7 kB / 0.6956 GB, free: 320 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1814, allocations: 120.1 kB / 0.6957 GB, free: 196 kB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1814, allocations: 23.8 kB / 0.6958 GB, free: 172 kB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.1815, allocations: 33.64 kB / 0.6958 GB, free: 132 kB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1817, allocations: 326.8 kB / 0.6961 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.1817, allocations: 15.98 kB / 0.6961 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.1817, allocations: 20 kB / 0.6961 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1819, allocations: 104.2 kB / 0.6962 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1819, allocations: 3.938 kB / 0.6962 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002162/0.1821, allocations: 151.1 kB / 0.6964 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.1821, allocations: 49.62 kB / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1821, allocations: 0 / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1822, allocations: 0 / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.1822, allocations: 4 kB / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1822, allocations: 0 / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.1823, allocations: 7.953 kB / 0.6964 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1823, allocations: 8 kB / 0.6965 GB, free: 15.41 MB / 0.5295 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.0001602/0.1825, allocations: 179.6 kB / 0.6966 GB, free: 15.22 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1825, allocations: 23.83 kB / 0.6966 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1825, allocations: 21.41 kB / 0.6967 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1825, allocations: 0 / 0.6967 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1825, allocations: 4 kB / 0.6967 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1825, allocations: 3.984 kB / 0.6967 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1827, allocations: 176.6 kB / 0.6968 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1827, allocations: 3.984 kB / 0.6968 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.1827, allocations: 4 kB / 0.6969 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1827, allocations: 0 / 0.6969 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1828, allocations: 8.094 kB / 0.6969 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1828, allocations: 3.938 kB / 0.6969 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1828, allocations: 4 kB / 0.6969 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.183, allocations: 202.6 kB / 0.6971 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.1831, allocations: 23.89 kB / 0.6971 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1831, allocations: 4 kB / 0.6971 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.1832, allocations: 7.938 kB / 0.6971 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1832, allocations: 3.984 kB / 0.6971 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1832, allocations: 12 kB / 0.6971 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000163/0.1834, allocations: 176.5 kB / 0.6973 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1834, allocations: 0 / 0.6973 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002341/0.1836, allocations: 35.94 kB / 0.6973 GB, free: 14.45 MB / 0.5295 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.0006573/0.1843, allocations: 0.7506 MB / 0.698 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1845, allocations: 123.5 kB / 0.6982 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1845, allocations: 4 kB / 0.6982 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.1846, allocations: 79.39 kB / 0.6982 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1848, allocations: 16.67 kB / 0.6983 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.187, allocations: 1.943 MB / 0.7002 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1874, allocations: 0.724 MB / 0.7009 GB, free: 10.62 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.1875, allocations: 25.69 kB / 0.7009 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.1875, allocations: 43.42 kB / 0.7009 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of SimCode: time 6.32e-07/0.1875, allocations: 0 / 0.7009 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2129, allocations: 3.668 MB / 0.7045 GB, free: 7.043 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.01, allocations: 4.438 kB / 0.7045 GB, free: 7.039 MB / 0.5295 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 15.974127240013331] Failed to read output from testmodel.py, exit status != 0: 12.181008134037256 12.198659781 12.016487792 Calling exit ...