Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009205/0.0009204, allocations: 175.6 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008119, allocations: 86.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3607/0.3607, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005357/0.1104, allocations: 228.3 kB / 491 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1133, allocations: 2.118 MB / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-06/0.1133, allocations: 0 / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.621e-06/0.1133, allocations: 0 / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.054e-06/0.1133, allocations: 0 / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.1152, allocations: 0.5107 MB / 493.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.743e-05/0.1153, allocations: 8 kB / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1153, allocations: 0 / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.1154, allocations: 19.92 kB / 493.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.1155, allocations: 7.984 kB / 493.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.1155, allocations: 0 / 493.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008554/0.1164, allocations: 0.5579 MB / 494.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1164, allocations: 7.922 kB / 494.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1164, allocations: 25.7 kB / 494.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.1168, allocations: 291.6 kB / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1168, allocations: 0 / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1168, allocations: 4 kB / 494.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1168, allocations: 0 / 494.6 MB, free: 7.109 MB / 378.7 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.0003432/0.1172, allocations: 425.2 kB / 495 MB, free: 6.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1172, allocations: 8.031 kB / 495 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1173, allocations: 80.22 kB / 495.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.1174, allocations: 235.7 kB / 495.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.1174, allocations: 150.9 kB / 495.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1175, allocations: 158.7 kB / 495.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.1176, allocations: 108.9 kB / 495.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1176, allocations: 75.28 kB / 495.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.1177, allocations: 154.6 kB / 495.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.1177, allocations: 150.6 kB / 496.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.1178, allocations: 158.5 kB / 496.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.118, allocations: 442 kB / 496.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.1181, allocations: 169.1 kB / 496.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.1181, allocations: 88.08 kB / 496.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1182, allocations: 75.28 kB / 497 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.1182, allocations: 139.5 kB / 497.1 MB, free: 4.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1182, allocations: 0 / 497.1 MB, free: 4.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.713e-05/0.1183, allocations: 29.69 kB / 497.2 MB, free: 4.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1184, allocations: 156.4 kB / 497.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.208e-05/0.1184, allocations: 93.8 kB / 497.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1184, allocations: 25.7 kB / 497.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.1185, allocations: 80.14 kB / 497.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1185, allocations: 4 kB / 497.5 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-06/0.1185, allocations: 0 / 497.5 MB, free: 3.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1186, allocations: 314.8 kB / 497.8 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-06/0.1186, allocations: 0 / 497.8 MB, free: 3.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.1186, allocations: 4 kB / 497.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.1186, allocations: 75.28 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/0.1187, allocations: 75.28 kB / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.28e-05/0.1187, allocations: 33.64 kB / 498 MB, free: 3.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.1188, allocations: 87.3 kB / 498.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.1188, allocations: 83.22 kB / 498.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/0.1189, allocations: 154.6 kB / 498.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/0.1189, allocations: 75.28 kB / 498.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-05/0.1189, allocations: 154.5 kB / 498.6 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.119, allocations: 75.28 kB / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.119, allocations: 91.31 kB / 498.7 MB, free: 2.719 MB / 378.7 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.0001045/0.1192, allocations: 260.4 kB / 499 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.1192, allocations: 116.9 kB / 499.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1193, allocations: 112.1 kB / 499.2 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.1193, allocations: 176.3 kB / 499.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/0.1194, allocations: 180.3 kB / 499.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.161e-05/0.1194, allocations: 184.2 kB / 499.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1196, allocations: 401.2 kB / 0.4884 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.1197, allocations: 108.9 kB / 0.4885 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1197, allocations: 109 kB / 0.4886 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.1198, allocations: 176.3 kB / 0.4888 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.1198, allocations: 188.2 kB / 0.4889 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.355e-05/0.1199, allocations: 176.3 kB / 0.4891 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.746e-05/0.12, allocations: 188.2 kB / 0.4893 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1902/0.3102, allocations: 293 kB / 0.4896 GB, free: 43.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.3102, allocations: 190.2 kB / 0.4898 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.3103, allocations: 179.5 kB / 0.4899 GB, free: 43.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.3104, allocations: 107.8 kB / 0.49 GB, free: 43.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.3104, allocations: 182 kB / 0.4902 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3105, allocations: 109.3 kB / 0.4903 GB, free: 42.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.3105, allocations: 75.78 kB / 0.4904 GB, free: 42.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3105, allocations: 0 / 0.4904 GB, free: 42.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006948/0.3112, allocations: 134.7 kB / 0.4905 GB, free: 42.77 MB / 378.7 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.000808/0.312, allocations: 407.9 kB / 0.4909 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.548e-05/0.3121, allocations: 1.875 kB / 0.4909 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3121, allocations: 0 / 0.4909 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.3121, allocations: 1.422 kB / 0.4909 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.3123, allocations: 0.5296 MB / 0.4914 GB, free: 42.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001047/0.3125, allocations: 176.1 kB / 0.4916 GB, free: 41.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.3126, allocations: 0.6692 MB / 0.4922 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.003e-05/0.3126, allocations: 8.719 kB / 0.4922 GB, free: 41.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3126, allocations: 3.719 kB / 0.4923 GB, free: 41.19 MB / 378.7 MB Notification: Performance of Templates: time 0.005526/0.3181, allocations: 2.704 MB / 0.4949 GB, free: 40.97 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)