Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.001522/0.001522, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001764/0.001764, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2584/0.2584, allocations: 44.28 MB / 330.4 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002586/0.002586, allocations: 71.91 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1594, allocations: 61.04 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002236/0.1617, allocations: 0.4949 MB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.1647, allocations: 1.263 MB / 0.5183 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.1648, allocations: 4 kB / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.1648, allocations: 0 / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.954e-06/0.1648, allocations: 0 / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.167, allocations: 0.5726 MB / 0.5189 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.1671, allocations: 4 kB / 0.5189 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1672, allocations: 7.984 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1672, allocations: 3.984 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.1672, allocations: 4 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1672, allocations: 0 / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01749/0.1847, allocations: 2.533 MB / 0.5214 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1848, allocations: 3.984 kB / 0.5214 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1848, allocations: 0 / 0.5214 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.1852, allocations: 163.7 kB / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1853, allocations: 0 / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1853, allocations: 0 / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1853, allocations: 0 / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004552/0.1857, allocations: 311.8 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1858, allocations: 8.031 kB / 0.5219 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1858, allocations: 4.938 kB / 0.5219 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1859, allocations: 110.5 kB / 0.522 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1859, allocations: 384 / 0.522 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1859, allocations: 384 / 0.522 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1861, allocations: 59.53 kB / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1861, allocations: 0 / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1861, allocations: 0 / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1861, allocations: 3.984 kB / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.1861, allocations: 37.62 kB / 0.5221 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1863, allocations: 97.33 kB / 0.5222 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.1863, allocations: 44.38 kB / 0.5222 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.1864, allocations: 34.56 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.1864, allocations: 0 / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.1864, allocations: 56.27 kB / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1864, allocations: 0 / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002239/0.1867, allocations: 134.7 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.1867, allocations: 77.11 kB / 0.5225 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.1868, allocations: 93.8 kB / 0.5226 GB, free: 448 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1868, allocations: 29.83 kB / 0.5226 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.1869, allocations: 80.14 kB / 0.5227 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1869, allocations: 3.953 kB / 0.5227 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1869, allocations: 17.7 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1871, allocations: 310.8 kB / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.1871, allocations: 29.7 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.1871, allocations: 29.7 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1872, allocations: 60.27 kB / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1872, allocations: 0 / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.547e-05/0.1873, allocations: 97.09 kB / 0.5232 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.1874, allocations: 33.7 kB / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1874, allocations: 3.938 kB / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1874, allocations: 0 / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1874, allocations: 3.938 kB / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1874, allocations: 4 kB / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.1874, allocations: 0 / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1874, allocations: 0 / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001102/0.1875, allocations: 139.5 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.1875, allocations: 0 / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.077e-05/0.1876, allocations: 10.97 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1876, allocations: 0 / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1876, allocations: 0 / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1876, allocations: 0 / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.134e-05/0.1877, allocations: 97.33 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1877, allocations: 0 / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1877, allocations: 0 / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1877, allocations: 3.984 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1877, allocations: 0 / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1877, allocations: 3.938 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1877, allocations: 4 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1878, allocations: 124.5 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.1878, allocations: 4 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1878, allocations: 4 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-06/0.1878, allocations: 3.938 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1878, allocations: 0 / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1879, allocations: 7.938 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.1879, allocations: 75.28 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1882, allocations: 71.8 kB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.001052/0.1892, allocations: 389.7 kB / 0.5241 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1894, allocations: 118.8 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1894, allocations: 0 / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.1894, allocations: 89.03 kB / 0.5243 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1896, allocations: 3.906 kB / 0.5243 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.1898, allocations: 110.6 kB / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.465e-05/0.1898, allocations: 59.34 kB / 0.5245 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.1898, allocations: 7.922 kB / 0.5245 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.1899, allocations: 11.44 kB / 0.5245 GB, free: 14.18 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1899, allocations: 0 / 0.5245 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Templates: time 0.005437/0.1953, allocations: 2.092 MB / 0.5266 GB, free: 12.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.649503853172064] Failed to read output from testmodel.py, exit status != 0: 0.20418893732130527 0.42436556900000005 0.032509756 Calling exit ...