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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 109.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 188.4 kB / 22.98 MB, free: 5.062 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.604/1.604, allocations: 207.6 MB / 233.7 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.2533/0.2533, allocations: 44.22 MB / 330.2 MB, free: 9.551 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 75.88 kB / 467.9 MB, free: 4.035 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1526, allocations: 61.02 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00204/0.1546, allocations: 0.5102 MB / 0.5171 GB, free: 6.363 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003981/0.1586, allocations: 2.248 MB / 0.5193 GB, free: 4.094 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-06/0.1586, allocations: 0 / 0.5193 GB, free: 4.094 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.476e-06/0.1586, allocations: 3.938 kB / 0.5193 GB, free: 4.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.092e-06/0.1586, allocations: 0 / 0.5193 GB, free: 4.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.1612, allocations: 0.6195 MB / 0.5199 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.1613, allocations: 16 kB / 0.5199 GB, free: 3.453 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.1613, allocations: 4 kB / 0.5199 GB, free: 3.449 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1614, allocations: 15.92 kB / 0.5199 GB, free: 3.434 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.1614, allocations: 7.984 kB / 0.5199 GB, free: 3.426 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.1614, allocations: 0 / 0.5199 GB, free: 3.426 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.1627, allocations: 0.6359 MB / 0.5205 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.1627, allocations: 0 / 0.5205 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.1627, allocations: 7.984 kB / 0.5205 GB, free: 2.781 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.1636, allocations: 427.1 kB / 0.5209 GB, free: 2.363 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1636, allocations: 4 kB / 0.5209 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.1636, allocations: 0 / 0.5209 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.051e-06/0.1636, allocations: 0 / 0.5209 GB, free: 2.359 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.0005023/0.1641, allocations: 351.3 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1642, allocations: 12.03 kB / 0.5213 GB, free: 1.969 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.1643, allocations: 76.22 kB / 0.5214 GB, free: 1.895 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1644, allocations: 181.8 kB / 0.5215 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.1645, allocations: 158.9 kB / 0.5217 GB, free: 1.535 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.1645, allocations: 158.6 kB / 0.5218 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1646, allocations: 105 kB / 0.5219 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.1647, allocations: 75.28 kB / 0.522 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.1648, allocations: 150.6 kB / 0.5222 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.088e-05/0.1648, allocations: 154.6 kB / 0.5223 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1649, allocations: 150.6 kB / 0.5225 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1653, allocations: 417 kB / 0.5228 GB, free: 304 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1654, allocations: 169.1 kB / 0.523 GB, free: 124 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.1654, allocations: 88.08 kB / 0.5231 GB, free: 32 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.1655, allocations: 75.28 kB / 0.5232 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.11e-05/0.1656, allocations: 135.5 kB / 0.5233 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1656, allocations: 4 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0): time 9.741e-05/0.1657, allocations: 29.64 kB / 0.5233 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1658, allocations: 156.4 kB / 0.5235 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.1659, allocations: 89.86 kB / 0.5236 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1659, allocations: 29.7 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.1659, allocations: 84.14 kB / 0.5237 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.1659, allocations: 0 / 0.5237 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.166, allocations: 13.72 kB / 0.5237 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001734/0.1661, allocations: 310.8 kB / 0.524 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.1662, allocations: 0 / 0.524 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.1662, allocations: 7.922 kB / 0.524 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.1662, allocations: 79.28 kB / 0.5241 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.1663, allocations: 79.31 kB / 0.5241 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 7.254e-05/0.1663, allocations: 33.62 kB / 0.5242 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.1664, allocations: 83.28 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.1664, allocations: 79.22 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 9.365e-05/0.1665, allocations: 154.6 kB / 0.5245 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.065e-05/0.1665, allocations: 79.22 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.403e-05/0.1666, allocations: 154.6 kB / 0.5247 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.1667, allocations: 83.27 kB / 0.5248 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.1668, allocations: 83.27 kB / 0.5249 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.0001576/0.1669, allocations: 264.4 kB / 0.5251 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.167, allocations: 116.9 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.1671, allocations: 111.9 kB / 0.5253 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.034e-05/0.1672, allocations: 180.3 kB / 0.5255 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.133e-05/0.1673, allocations: 184.2 kB / 0.5257 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.1673, allocations: 176.3 kB / 0.5258 GB, free: 13.08 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1676, allocations: 372.3 kB / 0.5262 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-05/0.1676, allocations: 108.9 kB / 0.5263 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1677, allocations: 105 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.1678, allocations: 188.2 kB / 0.5266 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.1679, allocations: 176.3 kB / 0.5267 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.807e-05/0.1679, allocations: 176.3 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.949e-05/0.168, allocations: 180.2 kB / 0.5271 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1682, allocations: 311.8 kB / 0.5274 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1683, allocations: 108.9 kB / 0.5275 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.1684, allocations: 184.3 kB / 0.5277 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.1685, allocations: 112.9 kB / 0.5278 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.1685, allocations: 176.3 kB / 0.5279 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.1686, allocations: 109.4 kB / 0.528 GB, free: 10.67 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.501e-05/0.1686, allocations: 75.28 kB / 0.5281 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1686, allocations: 0 / 0.5281 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006121/0.1692, allocations: 135.6 kB / 0.5282 GB, free: 10.46 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.001022/0.1703, allocations: 408.7 kB / 0.5286 GB, free: 10.06 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 6.674e-05/0.1703, allocations: 12 kB / 0.5286 GB, free: 10.05 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1703, allocations: 0 / 0.5286 GB, free: 10.05 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1703, allocations: 0 / 0.5286 GB, free: 10.05 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1707, allocations: 459.6 kB / 0.5291 GB, free: 9.594 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.1709, allocations: 164.1 kB / 0.5292 GB, free: 9.406 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1713, allocations: 0.669 MB / 0.5299 GB, free: 8.711 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.358e-06/0.1713, allocations: 0 / 0.5299 GB, free: 8.711 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.1713, allocations: 7.438 kB / 0.5299 GB, free: 8.703 MB / 414.1 MB
Notification: Performance of SimCode: time 7.01e-07/0.1713, allocations: 0 / 0.5299 GB, free: 8.703 MB / 414.1 MB
Notification: Performance of Templates: time 0.01026/0.1816, allocations: 3.079 MB / 0.5329 GB, free: 5.625 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.657031503506005]
Failed to read output from testmodel.py, exit status != 0:
0.19231977965682745 0.477407543 0.30871722799999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdf54e257b0>