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.001131/0.001131, allocations: 96.86 kB / 15.7 MB, free: 468 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.001688/0.001688, allocations: 172.5 kB / 16.58 MB, free: 6.848 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.786/1.786, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.405/0.405, allocations: 43.57 MB / 314.6 MB, free: 8.973 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.000834/0.0008343, allocations: 22.95 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1937, allocations: 58.86 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006071/0.1943, allocations: 228.4 kB / 443 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1975, allocations: 2.111 MB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-06/0.1975, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-06/0.1976, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.1976, allocations: 3.938 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.1997, allocations: 0.5147 MB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.652e-05/0.1997, allocations: 8 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.906e-05/0.1998, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.1999, allocations: 11.92 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.1999, allocations: 4 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-06/0.1999, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.201, allocations: 0.5657 MB / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.2011, allocations: 0 / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.2011, allocations: 25.7 kB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.2017, allocations: 299.5 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2017, allocations: 0 / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2017, allocations: 0 / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2017, allocations: 0 / 446.6 MB, free: 9.48 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.0006634/0.2024, allocations: 413.1 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/0.2024, allocations: 8.031 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2026, allocations: 91.23 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2028, allocations: 242.3 kB / 447.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.203, allocations: 154.5 kB / 447.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.2031, allocations: 150.6 kB / 447.6 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2032, allocations: 101 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.2033, allocations: 75.28 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.2034, allocations: 154.6 kB / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.2035, allocations: 150.6 kB / 448.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2036, allocations: 158.5 kB / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.2041, allocations: 445.9 kB / 448.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2043, allocations: 173.1 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.2043, allocations: 80.14 kB / 448.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2044, allocations: 79.22 kB / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.2045, allocations: 139.5 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.2045, allocations: 0 / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001166/0.2047, allocations: 29.64 kB / 449.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.2048, allocations: 156.4 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.2049, allocations: 89.86 kB / 449.4 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2049, allocations: 33.64 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2051, allocations: 80.14 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-06/0.2051, allocations: 0 / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/0.2051, allocations: 0 / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.2053, allocations: 314.8 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.2053, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.2054, allocations: 4 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.2054, allocations: 83.3 kB / 449.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.248e-05/0.2055, allocations: 75.28 kB / 450 MB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.404e-05/0.2056, allocations: 33.64 kB / 450 MB, free: 5.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.2057, allocations: 79.28 kB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.28e-05/0.2057, allocations: 79.28 kB / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.2059, allocations: 150.6 kB / 450.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.2059, allocations: 83.22 kB / 450.4 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.382e-05/0.206, allocations: 154.6 kB / 450.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2061, allocations: 83.2 kB / 450.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.2062, allocations: 79.44 kB / 450.7 MB, free: 5.094 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.0002239/0.2064, allocations: 268.3 kB / 451 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2066, allocations: 109 kB / 451.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.2067, allocations: 116.1 kB / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.932e-05/0.2068, allocations: 176.3 kB / 451.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/0.2069, allocations: 184.2 kB / 451.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/0.207, allocations: 180.3 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2073, allocations: 409.1 kB / 452.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/0.2074, allocations: 109 kB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.2074, allocations: 105 kB / 452.3 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.2075, allocations: 184.2 kB / 452.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.2076, allocations: 176.3 kB / 452.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.944e-05/0.2077, allocations: 180.2 kB / 452.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-05/0.2078, allocations: 180.3 kB / 453 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.208, allocations: 315.6 kB / 453.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2081, allocations: 182.1 kB / 453.5 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2082, allocations: 184.2 kB / 453.7 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2084, allocations: 109 kB / 453.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2085, allocations: 184.3 kB / 454 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.2085, allocations: 104.9 kB / 454.1 MB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.2086, allocations: 75.28 kB / 454.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2086, allocations: 0 / 454.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006877/0.2093, allocations: 132 kB / 454.3 MB, free: 1.285 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.000853/0.2101, allocations: 417 kB / 454.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.633e-05/0.2102, allocations: 0 / 454.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2102, allocations: 0 / 454.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2102, allocations: 0 / 454.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.2106, allocations: 0.5301 MB / 455.2 MB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.2107, allocations: 149.9 kB / 455.4 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2489/0.4597, allocations: 0.6692 MB / 456 MB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.4597, allocations: 0 / 456 MB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.4598, allocations: 8.141 kB / 456 MB, free: 46.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4598, allocations: 0 / 456 MB, free: 46.54 MB / 382.1 MB Notification: Performance of Templates: time 0.008404/0.4682, allocations: 3.062 MB / 459.1 MB, free: 46.35 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)