Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.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.001339/0.001339, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001611/0.001611, allocations: 214.2 kB / 22.99 MB, free: 4.602 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.574/1.574, 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.2418/0.2418, allocations: 44.26 MB / 330.3 MB, free: 9.316 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.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") [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.002324/0.002324, allocations: 67.91 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1492, allocations: 61.05 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001877/0.151, allocations: 0.4948 MB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1548, allocations: 2.112 MB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-06/0.1548, allocations: 7.938 kB / 0.5192 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-06/0.1548, allocations: 0 / 0.5192 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.483e-06/0.1548, allocations: 4 kB / 0.5192 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.157, allocations: 0.604 MB / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.157, allocations: 8 kB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.1571, allocations: 11.98 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.1572, allocations: 11.92 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1572, allocations: 4 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.1572, allocations: 0 / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1583, allocations: 0.6125 MB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1583, allocations: 0 / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1584, allocations: 11.97 kB / 0.5204 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.159, allocations: 423.1 kB / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.159, allocations: 0 / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.159, allocations: 0 / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.159, allocations: 0 / 0.5208 GB, free: 2.371 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004802/0.1595, allocations: 351.3 kB / 0.5212 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1596, allocations: 8.031 kB / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.1596, allocations: 84.22 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1598, allocations: 185.8 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.1598, allocations: 154.9 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.1599, allocations: 158.7 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.16, allocations: 108.9 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.1601, allocations: 75.28 kB / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.1602, allocations: 150.6 kB / 0.522 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.1602, allocations: 150.6 kB / 0.5222 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1603, allocations: 154.6 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.1606, allocations: 393.5 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1607, allocations: 177.1 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.1608, allocations: 80.14 kB / 0.523 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.1608, allocations: 75.28 kB / 0.523 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.065e-05/0.1609, allocations: 139.5 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1609, allocations: 0 / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.377e-05/0.161, allocations: 33.62 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.1611, allocations: 156.3 kB / 0.5233 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.1612, allocations: 89.86 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1612, allocations: 29.7 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.1612, allocations: 84.14 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.1612, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1613, allocations: 17.72 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1614, allocations: 310.8 kB / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.1614, allocations: 0 / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.1614, allocations: 29.7 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.1615, allocations: 79.27 kB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-05/0.1615, allocations: 75.28 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.918e-05/0.1616, allocations: 33.64 kB / 0.5241 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1616, allocations: 83.22 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.1617, allocations: 83.27 kB / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.81e-05/0.1617, allocations: 150.6 kB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.1618, allocations: 87.25 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-05/0.1619, allocations: 150.6 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.1619, allocations: 87.2 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.162, allocations: 79.33 kB / 0.5247 GB, free: 14.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001642/0.1621, allocations: 260.4 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.1622, allocations: 104.9 kB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.1623, allocations: 115.9 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.1624, allocations: 180.3 kB / 0.5254 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/0.1625, allocations: 184.2 kB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/0.1626, allocations: 184.2 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1629, allocations: 352.9 kB / 0.5261 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-05/0.1629, allocations: 104.9 kB / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.163, allocations: 109 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.418e-05/0.163, allocations: 180.2 kB / 0.5264 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/0.1631, allocations: 184.2 kB / 0.5266 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.549e-05/0.1632, allocations: 176.3 kB / 0.5268 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.455e-05/0.1633, allocations: 180.2 kB / 0.527 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1635, allocations: 311.8 kB / 0.5272 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1635, allocations: 105 kB / 0.5273 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.1636, allocations: 188.2 kB / 0.5275 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.1637, allocations: 104.9 kB / 0.5276 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1638, allocations: 192.2 kB / 0.5278 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.1639, allocations: 105.4 kB / 0.5279 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.627e-05/0.1639, allocations: 75.28 kB / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1639, allocations: 0 / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.1644, allocations: 131.6 kB / 0.5281 GB, free: 10.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0009631/0.1653, allocations: 416.3 kB / 0.5285 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.1654, allocations: 8.047 kB / 0.5285 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1654, allocations: 0 / 0.5285 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.1654, allocations: 8.031 kB / 0.5285 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1659, allocations: 463.6 kB / 0.529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.1661, allocations: 152.1 kB / 0.5291 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.1661, allocations: 55.36 kB / 0.5292 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.772e-06/0.1661, allocations: 0 / 0.5292 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.1661, allocations: 7.438 kB / 0.5292 GB, free: 9.363 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1661, allocations: 0 / 0.5292 GB, free: 9.363 MB / 414.1 MB Notification: Performance of Templates: time 0.007817/0.174, allocations: 3.076 MB / 0.5322 GB, free: 6.293 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.711879214271903] Failed to read output from testmodel.py, exit status != 0: 0.182792779058218 0.519033261 0.356780192 Calling exit ...