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.001042/0.001042, allocations: 114.9 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 210.8 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3255, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002453/0.3281, allocations: 497 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3315, allocations: 2.274 MB / 0.5343 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-06/0.3315, allocations: 4 kB / 0.5343 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.719e-06/0.3315, allocations: 0 / 0.5343 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.3315, allocations: 3.938 kB / 0.5343 GB, free: 11.46 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.001964/0.3335, allocations: 0.6203 MB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.583e-05/0.3336, allocations: 8.297 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.45e-05/0.3336, allocations: 1.125 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3337, allocations: 20.11 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.909e-05/0.3337, allocations: 3.906 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.3338, allocations: 5.094 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009365/0.3347, allocations: 0.6595 MB / 0.5356 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-06/0.3347, allocations: 0 / 0.5356 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.3347, allocations: 2.25 kB / 0.5356 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.3353, allocations: 432.1 kB / 0.536 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3353, allocations: 0 / 0.536 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3353, allocations: 1.062 kB / 0.536 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3353, allocations: 0 / 0.536 GB, free: 10.49 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.0003654/0.3357, allocations: 431.5 kB / 0.5365 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3357, allocations: 8.969 kB / 0.5365 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3358, allocations: 85.34 kB / 0.5366 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.3359, allocations: 235.7 kB / 0.5368 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.3359, allocations: 152 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.336, allocations: 154.7 kB / 0.5371 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.606e-05/0.3361, allocations: 106.1 kB / 0.5372 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.3361, allocations: 75.28 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.3362, allocations: 151.8 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.3362, allocations: 155.6 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.3363, allocations: 154.5 kB / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.3365, allocations: 447.2 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.3366, allocations: 170.2 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.3366, allocations: 85.23 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3366, allocations: 75.28 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.3367, allocations: 140.8 kB / 0.5386 GB, free: 7.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3367, allocations: 3.938 kB / 0.5386 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.21e-05/0.3368, allocations: 30.8 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3368, allocations: 82.28 kB / 0.5387 GB, free: 7.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.909e-05/0.3369, allocations: 89.86 kB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3369, allocations: 26.86 kB / 0.5388 GB, free: 7.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.3369, allocations: 81.27 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.3369, allocations: 0 / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3369, allocations: 18.22 kB / 0.5389 GB, free: 7.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.337, allocations: 314.8 kB / 0.5392 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.337, allocations: 0 / 0.5392 GB, free: 7.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.3371, allocations: 2.375 kB / 0.5392 GB, free: 7.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.3371, allocations: 76.28 kB / 0.5393 GB, free: 7.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.3371, allocations: 75.28 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.99e-05/0.3372, allocations: 43.91 kB / 0.5394 GB, free: 6.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3372, allocations: 83.25 kB / 0.5394 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.3373, allocations: 80.41 kB / 0.5395 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-05/0.3373, allocations: 155.7 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.3374, allocations: 80.22 kB / 0.5397 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.442e-05/0.3374, allocations: 151.7 kB / 0.5399 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.3375, allocations: 80.28 kB / 0.54 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3375, allocations: 76.44 kB / 0.54 GB, free: 6.227 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.0001067/0.3376, allocations: 274.6 kB / 0.5403 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.3377, allocations: 110.1 kB / 0.5404 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.3377, allocations: 109 kB / 0.5405 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.266e-05/0.3378, allocations: 181.5 kB / 0.5407 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.3378, allocations: 106.1 kB / 0.5408 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.3379, allocations: 183.2 kB / 0.541 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.338, allocations: 185.4 kB / 0.5411 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.338, allocations: 111.1 kB / 0.5412 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3381, allocations: 177.4 kB / 0.5414 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.319e-05/0.3382, allocations: 264.5 kB / 0.5417 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001485/0.3384, allocations: 387.2 kB / 0.542 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.033e-05/0.3384, allocations: 102.1 kB / 0.5421 GB, free: 3.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.372e-05/0.3384, allocations: 76.34 kB / 0.5422 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.3384, allocations: 0 / 0.5422 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009993/0.3394, allocations: 319 kB / 0.5425 GB, free: 3.746 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003691/0.3398, allocations: 0.8994 MB / 0.5434 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Templates: time 0.007203/0.347, allocations: 3.084 MB / 0.5464 GB, free: 1.211 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