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.0009762/0.0009763, allocations: 97.53 kB / 15.69 MB, free: 488 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.001036/0.001036, allocations: 173.1 kB / 16.56 MB, free: 6.379 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.492/1.492, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.4126/0.4126, allocations: 43.54 MB / 314.5 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.0005189/0.000519, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006175/0.1376, allocations: 228.4 kB / 443 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1408, allocations: 2.053 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-06/0.1408, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-06/0.1409, allocations: 4 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.1409, allocations: 0 / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.143, allocations: 0.491 MB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.944e-05/0.1431, allocations: 11.94 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.1431, allocations: 3.984 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.1432, allocations: 11.98 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.1432, allocations: 4 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-06/0.1433, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009736/0.1442, allocations: 0.5188 MB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.1443, allocations: 0 / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1443, allocations: 29.7 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.1448, allocations: 287.6 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1449, allocations: 0 / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1449, allocations: 0 / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1449, allocations: 0 / 446.4 MB, free: 9.422 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.0004218/0.1453, allocations: 417 kB / 446.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1453, allocations: 16.03 kB / 446.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.1455, allocations: 83.22 kB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1457, allocations: 234.4 kB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.1457, allocations: 150.6 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1458, allocations: 158.5 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.1459, allocations: 108.9 kB / 447.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.146, allocations: 79.28 kB / 447.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.146, allocations: 150.6 kB / 447.7 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.1461, allocations: 150.6 kB / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.1461, allocations: 154.5 kB / 448 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.1464, allocations: 442 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.1465, allocations: 177.1 kB / 448.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1465, allocations: 75.28 kB / 448.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.1466, allocations: 131.5 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1466, allocations: 3.938 kB / 448.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.217e-05/0.1467, allocations: 33.69 kB / 448.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1468, allocations: 156.4 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.408e-05/0.1468, allocations: 89.86 kB / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1469, allocations: 25.7 kB / 449.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.1469, allocations: 84.14 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.1469, allocations: 0 / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.1469, allocations: 0 / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.147, allocations: 318.8 kB / 449.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.147, allocations: 7.938 kB / 449.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.1471, allocations: 3.938 kB / 449.5 MB, free: 6.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.1471, allocations: 79.31 kB / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-05/0.1471, allocations: 75.28 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.682e-05/0.1472, allocations: 29.7 kB / 449.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.1473, allocations: 83.27 kB / 449.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.1473, allocations: 83.22 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.141e-05/0.1474, allocations: 150.6 kB / 450 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.594e-05/0.1474, allocations: 75.28 kB / 450.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-05/0.1475, allocations: 162.5 kB / 450.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1476, allocations: 79.28 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1476, allocations: 83.38 kB / 450.4 MB, free: 5.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.1477, allocations: 268.3 kB / 450.7 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.1478, allocations: 109 kB / 450.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.1479, allocations: 108.1 kB / 450.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/0.148, allocations: 184.2 kB / 451.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/0.1481, allocations: 180.3 kB / 451.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.1482, allocations: 180.2 kB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.1485, allocations: 401.2 kB / 451.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.1485, allocations: 105 kB / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.1486, allocations: 108.9 kB / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.355e-05/0.1487, allocations: 184.3 kB / 452.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.1488, allocations: 184.2 kB / 452.4 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.882e-05/0.1488, allocations: 180.3 kB / 452.6 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-05/0.1489, allocations: 176.3 kB / 452.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1492, allocations: 315.7 kB / 453.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1493, allocations: 182 kB / 453.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.1493, allocations: 180.3 kB / 453.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1495, allocations: 101 kB / 453.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.1496, allocations: 184.2 kB / 453.7 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.1496, allocations: 113 kB / 453.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.1496, allocations: 75.28 kB / 453.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1496, allocations: 0 / 453.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.1502, allocations: 127.9 kB / 454 MB, free: 1.316 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008301/0.151, allocations: 413.2 kB / 454.4 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.1511, allocations: 3.938 kB / 454.4 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1511, allocations: 0 / 454.4 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.1511, allocations: 7.984 kB / 454.4 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1514, allocations: 0.5224 MB / 454.9 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001399/0.1516, allocations: 146.3 kB / 455.1 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.182/0.3335, allocations: 0.674 MB / 455.7 MB, free: 46.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.709e-05/0.3336, allocations: 1.844 kB / 455.8 MB, free: 46.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.3336, allocations: 7.438 kB / 455.8 MB, free: 46.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3336, allocations: 0.9375 kB / 455.8 MB, free: 46.72 MB / 382.1 MB Notification: Performance of Templates: time 0.006645/0.3403, allocations: 3.078 MB / 458.8 MB, free: 46.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: