Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01071/0.01071, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001631/0.001631, allocations: 195.3 kB / 16.68 MB, free: 5.918 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3864/0.3864, allocations: 39.95 MB / 309.8 MB, free: 9.492 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 68.47 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3977, allocations: 56.87 MB / 492.6 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002131/0.3999, allocations: 0.4921 MB / 493.1 MB, free: 19.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.4039, allocations: 2.231 MB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-06/0.404, allocations: 0 / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.404, allocations: 0 / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.573e-06/0.404, allocations: 0 / 495.4 MB, free: 17.61 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:8:5-85:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:87:5-157:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:159:5-233:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:235:5-313:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.4074, allocations: 0.6078 MB / 496 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.4075, allocations: 13.61 kB / 496 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.4075, allocations: 2.25 kB / 496 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.4077, allocations: 10.17 kB / 496 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.4077, allocations: 12.72 kB / 496 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.4077, allocations: 1.25 kB / 496 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4095, allocations: 0.6331 MB / 496.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.4095, allocations: 0 / 496.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.4095, allocations: 7.547 kB / 496.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.411, allocations: 428 kB / 497.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.411, allocations: 0 / 497.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.411, allocations: 0 / 497.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.411, allocations: 0 / 497.1 MB, free: 17.01 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.0007956/0.4118, allocations: 424 kB / 497.5 MB, free: 16.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4119, allocations: 14.38 kB / 497.5 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.412, allocations: 77.38 kB / 497.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.4121, allocations: 240.8 kB / 497.8 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.4121, allocations: 156.2 kB / 498 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.4121, allocations: 154.7 kB / 498.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.428e-05/0.4122, allocations: 107 kB / 498.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4122, allocations: 75.28 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.4123, allocations: 151.9 kB / 498.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.4123, allocations: 155.3 kB / 498.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.4124, allocations: 152.4 kB / 498.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.4126, allocations: 443.3 kB / 499.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.4127, allocations: 170.3 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.4127, allocations: 92.67 kB / 499.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4127, allocations: 76.44 kB / 499.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.4128, allocations: 133.7 kB / 499.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4128, allocations: 0 / 499.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.057e-05/0.4129, allocations: 31.78 kB / 499.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.413, allocations: 157.5 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.135e-05/0.413, allocations: 90.61 kB / 499.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.413, allocations: 29.7 kB / 499.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.413, allocations: 81.55 kB / 0.4883 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.413, allocations: 3.984 kB / 0.4883 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4131, allocations: 20.08 kB / 0.4883 GB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.4131, allocations: 311.7 kB / 0.4886 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.4131, allocations: 0 / 0.4886 GB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.4132, allocations: 2.688 kB / 0.4886 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.651e-05/0.4132, allocations: 75.28 kB / 0.4887 GB, free: 13.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4132, allocations: 79.97 kB / 0.4888 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.4133, allocations: 33.27 kB / 0.4888 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.4133, allocations: 80.56 kB / 0.4889 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4133, allocations: 89.17 kB / 0.489 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/0.4134, allocations: 156.3 kB / 0.4891 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.4134, allocations: 85.44 kB / 0.4892 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.4134, allocations: 151.1 kB / 0.4893 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.4135, allocations: 84.73 kB / 0.4894 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4135, allocations: 81.66 kB / 0.4895 GB, free: 12.68 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 7.458e-05/0.4136, allocations: 263 kB / 0.4897 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.4137, allocations: 108.1 kB / 0.4898 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.4137, allocations: 110.3 kB / 0.4899 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/0.4137, allocations: 181.2 kB / 0.4901 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/0.4138, allocations: 177.5 kB / 0.4903 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/0.4138, allocations: 182.1 kB / 0.4905 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.414, allocations: 401.9 kB / 0.4908 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.414, allocations: 109.7 kB / 0.491 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.414, allocations: 103.5 kB / 0.491 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/0.4141, allocations: 181.1 kB / 0.4912 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4141, allocations: 181.9 kB / 0.4914 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/0.4142, allocations: 178.8 kB / 0.4916 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-05/0.4142, allocations: 189.7 kB / 0.4917 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.4143, allocations: 301.5 kB / 0.492 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.4143, allocations: 187.6 kB / 0.4922 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.4144, allocations: 183.7 kB / 0.4924 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.4145, allocations: 107.1 kB / 0.4925 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.4145, allocations: 178.1 kB / 0.4927 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4145, allocations: 106.6 kB / 0.4928 GB, free: 9.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.917e-05/0.4146, allocations: 83.22 kB / 0.4928 GB, free: 9.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 0.4928 GB, free: 9.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009076/0.4155, allocations: 129.5 kB / 0.493 GB, free: 9.027 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.001244/0.4168, allocations: 418.8 kB / 0.4934 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.845e-05/0.4168, allocations: 1.406 kB / 0.4934 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4169, allocations: 1.375 kB / 0.4934 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.4169, allocations: 0.7031 kB / 0.4934 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.4172, allocations: 459.1 kB / 0.4938 GB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001736/0.4174, allocations: 160.8 kB / 0.494 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.4175, allocations: 0.6717 MB / 0.4946 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.337e-06/0.4176, allocations: 3.938 kB / 0.4946 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.4176, allocations: 8.531 kB / 0.4946 GB, free: 7.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4176, allocations: 1.031 kB / 0.4946 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Templates: time 0.009806/0.4274, allocations: 3.08 MB / 0.4976 GB, free: 6.855 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe 2>&1)