Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 199.9 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.5 MB / 244 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007637, allocations: 100.3 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3204/0.3204, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004222, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 62.96 MB / 0.5165 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005219/0.3147, allocations: 222.1 kB / 0.5167 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3173, allocations: 2.154 MB / 0.5188 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-06/0.3173, allocations: 0 / 0.5188 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.975e-06/0.3174, allocations: 0 / 0.5188 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.473e-06/0.3174, allocations: 0 / 0.5188 GB, free: 35.71 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.001973/0.3193, allocations: 0.515 MB / 0.5193 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.656e-05/0.3194, allocations: 10.41 kB / 0.5193 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.3194, allocations: 4 kB / 0.5193 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3195, allocations: 20.8 kB / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.3196, allocations: 2.812 kB / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.3196, allocations: 0 / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.3204, allocations: 0.5806 MB / 0.5199 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.3204, allocations: 0 / 0.5199 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.3204, allocations: 36.53 kB / 0.52 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.3207, allocations: 288.1 kB / 0.5202 GB, free: 35.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3208, allocations: 4 kB / 0.5202 GB, free: 35.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3208, allocations: 0 / 0.5202 GB, free: 35.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.3208, allocations: 2.938 kB / 0.5202 GB, free: 35.19 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.0002792/0.3211, allocations: 424.4 kB / 0.5206 GB, free: 34.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3211, allocations: 8.625 kB / 0.5206 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3211, allocations: 79.31 kB / 0.5207 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.003e-05/0.3212, allocations: 239.7 kB / 0.521 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3212, allocations: 154.9 kB / 0.5211 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3213, allocations: 158.6 kB / 0.5213 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.562e-05/0.3213, allocations: 108.9 kB / 0.5214 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3213, allocations: 75.28 kB / 0.5214 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3214, allocations: 153.7 kB / 0.5216 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3214, allocations: 150.6 kB / 0.5217 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.3214, allocations: 154.6 kB / 0.5219 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3216, allocations: 445.2 kB / 0.5223 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.3216, allocations: 172.1 kB / 0.5225 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.3217, allocations: 84.08 kB / 0.5225 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3217, allocations: 79.28 kB / 0.5226 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3217, allocations: 135.5 kB / 0.5227 GB, free: 32.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3217, allocations: 2.875 kB / 0.5227 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.401e-05/0.3218, allocations: 33.08 kB / 0.5228 GB, free: 32.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.3219, allocations: 81.05 kB / 0.5229 GB, free: 32.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.703e-05/0.3219, allocations: 89.86 kB / 0.5229 GB, free: 32.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.3219, allocations: 28.48 kB / 0.523 GB, free: 32.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.3219, allocations: 84.14 kB / 0.523 GB, free: 32.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.3219, allocations: 0 / 0.523 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.3219, allocations: 0 / 0.523 GB, free: 32.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.322, allocations: 310.8 kB / 0.5233 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-06/0.322, allocations: 2.656 kB / 0.5233 GB, free: 31.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.322, allocations: 0 / 0.5233 GB, free: 31.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.368e-05/0.322, allocations: 75.28 kB / 0.5234 GB, free: 31.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.322, allocations: 78.28 kB / 0.5235 GB, free: 31.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.26e-05/0.3221, allocations: 29.64 kB / 0.5235 GB, free: 31.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3221, allocations: 89.41 kB / 0.5236 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3221, allocations: 79.22 kB / 0.5237 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.3222, allocations: 157.6 kB / 0.5238 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.016e-05/0.3222, allocations: 83.16 kB / 0.5239 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.3222, allocations: 150.6 kB / 0.5241 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.3223, allocations: 77.78 kB / 0.5241 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3223, allocations: 83.22 kB / 0.5242 GB, free: 30.96 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 6.311e-05/0.3224, allocations: 262.6 kB / 0.5245 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3224, allocations: 111.8 kB / 0.5246 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.3224, allocations: 112.3 kB / 0.5247 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.3224, allocations: 180.3 kB / 0.5248 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.3225, allocations: 110.9 kB / 0.5249 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3225, allocations: 182 kB / 0.5251 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3225, allocations: 179 kB / 0.5253 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.3226, allocations: 104.9 kB / 0.5254 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.3226, allocations: 186.4 kB / 0.5256 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.498e-05/0.3227, allocations: 259.4 kB / 0.5258 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.21e-05/0.3227, allocations: 381.2 kB / 0.5262 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.225e-05/0.3228, allocations: 112 kB / 0.5263 GB, free: 28.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.445e-05/0.3228, allocations: 75.28 kB / 0.5264 GB, free: 28.66 MB / 378.7 MB Notification: Performance of Backend: time 1.6e-07/0.3228, allocations: 0 / 0.5264 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008944/0.3237, allocations: 327.6 kB / 0.5267 GB, free: 28.55 MB / 378.7 MB Notification: Performance of SimCode: time 0.0001935/0.3239, allocations: 0.9954 MB / 0.5276 GB, free: 27.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004039/0.328, allocations: 2.741 MB / 0.5303 GB, free: 27.21 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)