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.001095/0.001095, allocations: 109 kB / 16.64 MB, free: 6.371 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.001162/0.001162, allocations: 189.7 kB / 17.56 MB, free: 5.797 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.415/1.415, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.001689/0.001689, allocations: 65.83 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001867/0.1173, allocations: 0.5505 MB / 441.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1199, allocations: 2.225 MB / 443.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-06/0.12, allocations: 0 / 443.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-06/0.12, allocations: 0 / 443.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.193e-06/0.12, allocations: 3.938 kB / 443.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.1221, allocations: 0.5615 MB / 444 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.1221, allocations: 4 kB / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.1222, allocations: 0 / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.1223, allocations: 15.92 kB / 444 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.1223, allocations: 7.984 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.1223, allocations: 0 / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.1232, allocations: 0.6008 MB / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.1232, allocations: 0 / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1233, allocations: 4 kB / 444.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1238, allocations: 291.6 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1238, allocations: 0 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1238, allocations: 0 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1238, allocations: 0 / 444.9 MB, free: 3.078 MB / 318.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.0003858/0.1242, allocations: 429.2 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1243, allocations: 15.89 kB / 445.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.1243, allocations: 80.22 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.311e-05/0.1244, allocations: 239.6 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1244, allocations: 154.9 kB / 445.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1244, allocations: 154.7 kB / 446 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.644e-05/0.1245, allocations: 101 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1245, allocations: 79.28 kB / 446.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.1246, allocations: 154.6 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.1246, allocations: 150.6 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.1246, allocations: 158.6 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1248, allocations: 449.9 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.1249, allocations: 173.1 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.1249, allocations: 84.08 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1249, allocations: 75.28 kB / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.125, allocations: 135.5 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.125, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.895e-05/0.1251, allocations: 33.64 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1251, allocations: 156.4 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.411e-05/0.1251, allocations: 89.86 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1252, allocations: 25.7 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.1252, allocations: 80.14 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.1252, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.1253, allocations: 17.7 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1254, allocations: 314.8 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.1254, allocations: 0 / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.1255, allocations: 4 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.1255, allocations: 83.22 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.445e-05/0.1255, allocations: 75.28 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.293e-05/0.1256, allocations: 37.58 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.1257, allocations: 79.28 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.1257, allocations: 83.27 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.1259, allocations: 150.6 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.1259, allocations: 83.25 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.39e-05/0.126, allocations: 150.6 kB / 448.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.1261, allocations: 83.22 kB / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1261, allocations: 79.44 kB / 449.1 MB, free: 14.65 MB / 334.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.0001395/0.1263, allocations: 265.4 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.1264, allocations: 112.9 kB / 449.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.1264, allocations: 112 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/0.1265, allocations: 176.3 kB / 449.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-05/0.1266, allocations: 184.2 kB / 449.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.075e-05/0.1267, allocations: 184.3 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.1269, allocations: 397.2 kB / 450.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/0.127, allocations: 116.9 kB / 450.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.127, allocations: 104.9 kB / 450.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.959e-05/0.1271, allocations: 180.2 kB / 450.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.1272, allocations: 184.2 kB / 451 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.424e-05/0.1273, allocations: 184.3 kB / 451.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.108e-05/0.1273, allocations: 180.2 kB / 451.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1275, allocations: 307.8 kB / 451.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1276, allocations: 186 kB / 451.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.1277, allocations: 180.3 kB / 452.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1278, allocations: 104.9 kB / 452.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.1279, allocations: 180.3 kB / 452.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.1279, allocations: 108.9 kB / 452.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.128, allocations: 79.27 kB / 452.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.128, allocations: 0 / 452.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006127/0.1286, allocations: 128 kB / 452.7 MB, free: 10.85 MB / 334.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.00099/0.1296, allocations: 419 kB / 453.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.1297, allocations: 0 / 453.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1297, allocations: 0 / 453.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-06/0.1297, allocations: 4 kB / 453.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1301, allocations: 467.6 kB / 453.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.1303, allocations: 181.9 kB / 453.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1305, allocations: 0.6728 MB / 454.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.1306, allocations: 11.44 kB / 454.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1306, allocations: 0 / 454.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of Templates: time 0.005549/0.1361, allocations: 2.712 MB / 457.1 MB, free: 6.352 MB / 334.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)