Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3658, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001632/0.3675, allocations: 494.8 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.3711, allocations: 2.274 MB / 0.5343 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-06/0.3711, allocations: 0 / 0.5343 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.3712, allocations: 3.938 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.114e-06/0.3712, allocations: 1.375 kB / 0.5343 GB, free: 11.43 MB / 398.1 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.002259/0.3735, allocations: 0.6187 MB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.3735, allocations: 9.125 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.3736, allocations: 1.344 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3737, allocations: 15.14 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.3738, allocations: 8.516 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.3738, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.3749, allocations: 0.6526 MB / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-06/0.375, allocations: 0 / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.375, allocations: 10.06 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000686/0.3757, allocations: 432.8 kB / 0.536 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3757, allocations: 3.984 kB / 0.536 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3757, allocations: 5.281 kB / 0.5361 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3757, allocations: 0 / 0.5361 GB, free: 10.46 MB / 398.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.0004819/0.3762, allocations: 423.3 kB / 0.5365 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3763, allocations: 9.219 kB / 0.5365 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.3764, allocations: 77.41 kB / 0.5365 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3765, allocations: 235.7 kB / 0.5368 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.3766, allocations: 152.4 kB / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3766, allocations: 158.7 kB / 0.5371 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.3767, allocations: 104.9 kB / 0.5372 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.3768, allocations: 76.75 kB / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.3768, allocations: 158.5 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.3769, allocations: 152 kB / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.377, allocations: 150.6 kB / 0.5377 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.3773, allocations: 447.1 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.3774, allocations: 178.3 kB / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.3774, allocations: 84.08 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3775, allocations: 76.44 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.434e-05/0.3776, allocations: 136.6 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3776, allocations: 0 / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.538e-05/0.3777, allocations: 31.02 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3777, allocations: 82.62 kB / 0.5387 GB, free: 7.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.3778, allocations: 89.86 kB / 0.5387 GB, free: 7.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3778, allocations: 25.7 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.3778, allocations: 81.52 kB / 0.5388 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3778, allocations: 3.938 kB / 0.5389 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3779, allocations: 21.75 kB / 0.5389 GB, free: 7.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.378, allocations: 312.1 kB / 0.5392 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.378, allocations: 3.938 kB / 0.5392 GB, free: 7.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.378, allocations: 2.125 kB / 0.5392 GB, free: 7.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.3781, allocations: 75.28 kB / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/0.3781, allocations: 76.5 kB / 0.5393 GB, free: 6.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.257e-05/0.3782, allocations: 39.88 kB / 0.5394 GB, free: 6.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.3782, allocations: 84.72 kB / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.3783, allocations: 80.22 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.901e-05/0.3783, allocations: 151.8 kB / 0.5397 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.628e-05/0.3784, allocations: 75.28 kB / 0.5397 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.336e-05/0.3785, allocations: 155.5 kB / 0.5399 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.3786, allocations: 85.5 kB / 0.54 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.3786, allocations: 80.12 kB / 0.54 GB, free: 6.195 MB / 398.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.0001326/0.3787, allocations: 270.7 kB / 0.5403 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.3788, allocations: 106.9 kB / 0.5404 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3789, allocations: 109.1 kB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.824e-05/0.379, allocations: 184.2 kB / 0.5407 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/0.379, allocations: 102 kB / 0.5408 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.3791, allocations: 191 kB / 0.541 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.3792, allocations: 178.5 kB / 0.5411 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3793, allocations: 106.1 kB / 0.5412 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.3794, allocations: 181.3 kB / 0.5414 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001294/0.3795, allocations: 261.7 kB / 0.5417 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002388/0.3797, allocations: 383.4 kB / 0.542 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.239e-05/0.3798, allocations: 106 kB / 0.5421 GB, free: 3.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.3799, allocations: 75.28 kB / 0.5422 GB, free: 3.887 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3799, allocations: 0 / 0.5422 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3812, allocations: 340.8 kB / 0.5425 GB, free: 3.715 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004267/0.3817, allocations: 0.8913 MB / 0.5434 GB, free: 2.777 MB / 398.1 MB Notification: Performance of Templates: time 0.00792/0.3896, allocations: 3.089 MB / 0.5464 GB, free: 1.18 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches