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.001381/0.001381, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001598/0.001598, allocations: 215.5 kB / 23 MB, free: 5.004 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.876/1.876, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2772/0.2772, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.00313/0.00313, allocations: 78.48 kB / 468 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1543, allocations: 61.04 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002046/0.1563, allocations: 0.4948 MB / 0.5171 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1592, allocations: 1.33 MB / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1593, allocations: 0 / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.1593, allocations: 0 / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.186e-06/0.1593, allocations: 0 / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.1612, allocations: 0.5765 MB / 0.519 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.1613, allocations: 0 / 0.519 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1613, allocations: 3.984 kB / 0.519 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1614, allocations: 7.938 kB / 0.519 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.1614, allocations: 4 kB / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-06/0.1614, allocations: 0 / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01796/0.1794, allocations: 2.537 MB / 0.5214 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1794, allocations: 0 / 0.5214 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1794, allocations: 7.938 kB / 0.5215 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1798, allocations: 167.6 kB / 0.5216 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1799, allocations: 0 / 0.5216 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1799, allocations: 4 kB / 0.5216 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1799, allocations: 0 / 0.5216 GB, free: 1.777 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.000433/0.1803, allocations: 307.8 kB / 0.5219 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1803, allocations: 8.031 kB / 0.5219 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1804, allocations: 0.9375 kB / 0.5219 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1805, allocations: 110.5 kB / 0.522 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1805, allocations: 384 / 0.522 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.1805, allocations: 384 / 0.522 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.1806, allocations: 33.83 kB / 0.5221 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1806, allocations: 4 kB / 0.5221 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1806, allocations: 0 / 0.5221 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1806, allocations: 0 / 0.5221 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.1806, allocations: 7.938 kB / 0.5221 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1808, allocations: 124.8 kB / 0.5222 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.214e-05/0.1808, allocations: 14.58 kB / 0.5222 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.1809, allocations: 8.953 kB / 0.5222 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.1809, allocations: 0 / 0.5222 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.1809, allocations: 68.2 kB / 0.5223 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1809, allocations: 0 / 0.5223 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001988/0.1811, allocations: 67.33 kB / 0.5223 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.1812, allocations: 77.11 kB / 0.5224 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.1812, allocations: 89.86 kB / 0.5225 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1813, allocations: 25.7 kB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1813, allocations: 80.14 kB / 0.5226 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1813, allocations: 16.02 kB / 0.5226 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1814, allocations: 13.72 kB / 0.5226 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1815, allocations: 310.8 kB / 0.5229 GB, free: 244 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.1815, allocations: 7.984 kB / 0.5229 GB, free: 236 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.1815, allocations: 0 / 0.5229 GB, free: 236 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.1816, allocations: 60.27 kB / 0.523 GB, free: 160 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1816, allocations: 0 / 0.523 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.043e-05/0.1817, allocations: 63.44 kB / 0.5231 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.1817, allocations: 45.62 kB / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1817, allocations: 0 / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1817, allocations: 0 / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.1817, allocations: 0 / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1818, allocations: 0 / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.1818, allocations: 0 / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1818, allocations: 4 kB / 0.5231 GB, free: 28 kB / 398.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.0001185/0.1819, allocations: 131.5 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1819, allocations: 3.938 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-06/0.1819, allocations: 14.94 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1819, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1819, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1819, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.182, allocations: 116.8 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.182, allocations: 0 / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.182, allocations: 4 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1821, allocations: 3.938 kB / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1821, allocations: 4 kB / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1821, allocations: 0 / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1821, allocations: 0 / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1822, allocations: 98.77 kB / 0.5235 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1822, allocations: 7.922 kB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1823, allocations: 0 / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.1823, allocations: 4 kB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1823, allocations: 0 / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1823, allocations: 7.984 kB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.1823, allocations: 79.31 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1823, allocations: 0 / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.1828, allocations: 67.81 kB / 0.5236 GB, free: 15.41 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.001427/0.1843, allocations: 389.7 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1844, allocations: 59.39 kB / 0.524 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1844, allocations: 4 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.1844, allocations: 55.34 kB / 0.5241 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1847, allocations: 7.906 kB / 0.5241 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.1849, allocations: 84.98 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1853, allocations: 0.6768 MB / 0.5249 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.505e-06/0.1854, allocations: 0 / 0.5249 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1854, allocations: 11.44 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1854, allocations: 0 / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Templates: time 0.008484/0.1939, allocations: 2.099 MB / 0.5269 GB, free: 11.95 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.938689555972815] Failed to read output from testmodel.py, exit status != 0: 0.20604739803820848 0.486113966 0.30230822300000004 Calling exit ...