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.007853/0.007853, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 191.9 kB / 16.79 MB, free: 6.238 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.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.36/0.36, allocations: 43.5 MB / 313.5 MB, free: 8.301 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.001331/0.001331, allocations: 74.88 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001501/0.1242, allocations: 0.5542 MB / 440.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1271, allocations: 2.313 MB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-06/0.1271, allocations: 0 / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-06/0.1271, allocations: 0 / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-07/0.1272, allocations: 3.938 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.1291, allocations: 0.5147 MB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.236e-05/0.1292, allocations: 4 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.1292, allocations: 3.984 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.1293, allocations: 15.92 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.1293, allocations: 4 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.1294, allocations: 0 / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1306, allocations: 0.593 MB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-06/0.1307, allocations: 8 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.054e-05/0.1307, allocations: 0 / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007552/0.1314, allocations: 435.3 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1315, allocations: 0 / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1315, allocations: 0 / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.1315, allocations: 0 / 444.3 MB, free: 10.16 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.000414/0.1319, allocations: 421.3 kB / 444.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.132, allocations: 16.02 kB / 444.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.132, allocations: 76.22 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1322, allocations: 239.7 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.1322, allocations: 154.9 kB / 445.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1323, allocations: 154.7 kB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.92e-05/0.1324, allocations: 105 kB / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.1324, allocations: 75.28 kB / 445.5 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.1325, allocations: 158.5 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.1326, allocations: 154.6 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.1326, allocations: 150.6 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1331, allocations: 445.9 kB / 446.4 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1332, allocations: 169.1 kB / 446.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.1333, allocations: 92.02 kB / 446.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1333, allocations: 79.22 kB / 446.7 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.216e-05/0.1334, allocations: 131.5 kB / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.1334, allocations: 0 / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.425e-05/0.1335, allocations: 29.7 kB / 446.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.1336, allocations: 156.4 kB / 447 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.1337, allocations: 93.86 kB / 447.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1337, allocations: 29.64 kB / 447.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1338, allocations: 80.14 kB / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.1338, allocations: 0 / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1339, allocations: 17.7 kB / 447.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.134, allocations: 314.8 kB / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.1341, allocations: 0 / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1341, allocations: 3.938 kB / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.1341, allocations: 79.31 kB / 447.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/0.1342, allocations: 75.28 kB / 447.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.007e-05/0.1342, allocations: 37.64 kB / 447.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1343, allocations: 79.28 kB / 447.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.1343, allocations: 75.28 kB / 447.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.204e-05/0.1344, allocations: 166.5 kB / 448 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.085e-05/0.1344, allocations: 75.28 kB / 448.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.897e-05/0.1344, allocations: 158.5 kB / 448.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.1345, allocations: 79.42 kB / 448.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1345, allocations: 75.3 kB / 448.4 MB, free: 5.746 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.0001055/0.1347, allocations: 256.4 kB / 448.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.1347, allocations: 120.9 kB / 448.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1348, allocations: 116.1 kB / 448.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/0.1349, allocations: 180.2 kB / 449.1 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.135, allocations: 180.3 kB / 449.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001461/0.1351, allocations: 176.3 kB / 449.4 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.1355, allocations: 405.2 kB / 449.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.1355, allocations: 108.9 kB / 449.9 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.1355, allocations: 108.9 kB / 450 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.1356, allocations: 176.3 kB / 450.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.1357, allocations: 176.3 kB / 450.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.398e-05/0.1358, allocations: 188.2 kB / 450.5 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.755e-05/0.1358, allocations: 180.2 kB / 450.7 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.136, allocations: 307.8 kB / 451 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.136, allocations: 190 kB / 451.2 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.1361, allocations: 180.3 kB / 451.4 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.1362, allocations: 105 kB / 451.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1363, allocations: 184.2 kB / 451.7 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.1363, allocations: 105 kB / 451.8 MB, free: 2.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.1364, allocations: 79.28 kB / 451.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1364, allocations: 0 / 451.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005333/0.1369, allocations: 124 kB / 452 MB, free: 1.953 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 (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.000762/0.1377, allocations: 437 kB / 452.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.579e-05/0.1377, allocations: 7.938 kB / 452.4 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1377, allocations: 0 / 452.4 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1378, allocations: 0 / 452.4 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1382, allocations: 0.5224 MB / 452.9 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001402/0.1383, allocations: 154.1 kB / 453.1 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1385, allocations: 0.6731 MB / 453.8 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.958e-06/0.1386, allocations: 0 / 453.8 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-06/0.1386, allocations: 11.44 kB / 453.8 MB, free: 112 kB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1386, allocations: 0 / 453.8 MB, free: 112 kB / 382.1 MB Notification: Performance of Templates: time 0.2287/0.3672, allocations: 3.061 MB / 456.8 MB, free: 49.63 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)