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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 177.7 kB / 16.92 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4104/0.4104, allocations: 43.57 MB / 315 MB, free: 8.734 MB / 254.1 MB 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.0004865/0.0004865, allocations: 16 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0007151/0.1514, allocations: 236.4 kB / 443.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.1552, allocations: 2.282 MB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-06/0.1553, allocations: 0 / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.1553, allocations: 0 / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.462e-06/0.1553, allocations: 0 / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1574, allocations: 0.5224 MB / 446.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.1574, allocations: 4 kB / 446.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1575, allocations: 4 kB / 446.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1576, allocations: 15.92 kB / 446.5 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.1576, allocations: 7.984 kB / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1577, allocations: 0 / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009871/0.1586, allocations: 0.593 MB / 447.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.1587, allocations: 0 / 447.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.1587, allocations: 29.7 kB / 447.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.1594, allocations: 427.4 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1594, allocations: 0 / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1594, allocations: 4 kB / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1594, allocations: 0 / 447.5 MB, free: 8.559 MB / 382.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.0005311/0.1599, allocations: 417.2 kB / 447.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.16, allocations: 8.031 kB / 448 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.1601, allocations: 88.16 kB / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1602, allocations: 235.7 kB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.1603, allocations: 158.9 kB / 448.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.1604, allocations: 158.7 kB / 448.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.862e-05/0.1605, allocations: 101 kB / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.1605, allocations: 79.28 kB / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.1606, allocations: 154.6 kB / 448.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/0.1607, allocations: 154.6 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.1608, allocations: 154.5 kB / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.1611, allocations: 442 kB / 449.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1612, allocations: 169.1 kB / 449.8 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.1612, allocations: 84.08 kB / 449.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.1613, allocations: 79.28 kB / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/0.1613, allocations: 135.5 kB / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1614, allocations: 0 / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.22e-05/0.1614, allocations: 29.64 kB / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.1615, allocations: 156.4 kB / 450.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.1616, allocations: 93.86 kB / 450.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1616, allocations: 29.7 kB / 450.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1617, allocations: 84.08 kB / 450.5 MB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.1617, allocations: 0 / 450.5 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.1617, allocations: 13.66 kB / 450.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1618, allocations: 310.8 kB / 450.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.1618, allocations: 4 kB / 450.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.1619, allocations: 0 / 450.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.1619, allocations: 75.28 kB / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/0.1619, allocations: 75.28 kB / 451 MB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.009e-05/0.162, allocations: 45.59 kB / 451 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.1621, allocations: 79.28 kB / 451.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.1621, allocations: 75.28 kB / 451.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.838e-05/0.1622, allocations: 158.5 kB / 451.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/0.1622, allocations: 79.28 kB / 451.4 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.286e-05/0.1623, allocations: 150.6 kB / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.1624, allocations: 87.22 kB / 451.6 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1624, allocations: 75.44 kB / 451.7 MB, free: 4.152 MB / 382.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.0001467/0.1626, allocations: 260.4 kB / 451.9 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.1627, allocations: 116.9 kB / 452.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.1627, allocations: 112.2 kB / 452.2 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.322e-05/0.1628, allocations: 180.3 kB / 452.3 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.187e-05/0.1629, allocations: 184.2 kB / 452.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/0.163, allocations: 180.2 kB / 452.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.1632, allocations: 397.2 kB / 453.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.1633, allocations: 108.9 kB / 453.2 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.1633, allocations: 105 kB / 453.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.083e-05/0.1634, allocations: 188.2 kB / 453.5 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.1635, allocations: 176.3 kB / 453.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.832e-05/0.1636, allocations: 180.2 kB / 453.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-05/0.1637, allocations: 180.3 kB / 454 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1639, allocations: 311.8 kB / 454.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.164, allocations: 186 kB / 454.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.1641, allocations: 180.2 kB / 454.7 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.1642, allocations: 105 kB / 454.8 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1643, allocations: 180.3 kB / 454.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.1644, allocations: 112.9 kB / 455.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.1644, allocations: 79.28 kB / 455.1 MB, free: 492 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1644, allocations: 0 / 455.1 MB, free: 492 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.165, allocations: 124 kB / 455.2 MB, free: 368 kB / 382.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.2498/0.4147, allocations: 412.5 kB / 455.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.4149, allocations: 4.844 kB / 455.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4149, allocations: 0 / 455.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.4149, allocations: 0 / 455.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.4153, allocations: 0.5332 MB / 456.2 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.4155, allocations: 147.5 kB / 456.3 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.4156, allocations: 0.6755 MB / 457 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.985e-06/0.4157, allocations: 0 / 457 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-06/0.4157, allocations: 7.438 kB / 457 MB, free: 45.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4157, allocations: 0 / 457 MB, free: 45.73 MB / 382.1 MB Notification: Performance of Templates: time 0.007449/0.4231, allocations: 3.069 MB / 460.1 MB, free: 45.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (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)