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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.89 MB / 361.3 MB, free: 4.527 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 83.86 kB / 0.497 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 66.03 MB / 0.5615 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001647/0.3424, allocations: 497 kB / 0.562 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.3461, allocations: 2.327 MB / 0.5643 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.647e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.801 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:8:5-88: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:90:5-160: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:162:5-239: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:241:5-319: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.002003/0.3481, allocations: 0.6249 MB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.783e-05/0.3481, allocations: 15.98 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.607e-05/0.3482, allocations: 0 / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3483, allocations: 11.98 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.3483, allocations: 8 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.3483, allocations: 0 / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3494, allocations: 0.671 MB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.3494, allocations: 0 / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.3494, allocations: 11.98 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.35, allocations: 446.8 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.35, allocations: 3.984 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.35, allocations: 3.938 kB / 0.566 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.35, allocations: 3.938 kB / 0.566 GB, free: 16 kB / 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.000445/0.3505, allocations: 351.3 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3505, allocations: 12.03 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.3506, allocations: 76.22 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3507, allocations: 181.8 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.3507, allocations: 150.9 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3508, allocations: 158.7 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.185e-05/0.3509, allocations: 108.9 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.3509, allocations: 75.28 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.351, allocations: 150.6 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/0.3511, allocations: 154.6 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.3511, allocations: 150.6 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.3514, allocations: 417 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3516, allocations: 173.1 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.3516, allocations: 88.08 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.3516, allocations: 79.27 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.535e-05/0.3517, allocations: 135.5 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3517, allocations: 0 / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.576e-05/0.3518, allocations: 29.64 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.3519, allocations: 156.3 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.663e-05/0.352, allocations: 93.86 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.352, allocations: 33.69 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.352, allocations: 84.14 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.352, allocations: 0 / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.3521, allocations: 13.72 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3522, allocations: 310.8 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.3522, allocations: 0 / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.3522, allocations: 4 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.3523, allocations: 75.28 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/0.3523, allocations: 79.31 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.462e-05/0.3524, allocations: 29.7 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.3524, allocations: 87.27 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/0.3524, allocations: 83.23 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.029e-05/0.3525, allocations: 150.6 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/0.3526, allocations: 83.22 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-05/0.3526, allocations: 158.6 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.3527, allocations: 75.28 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.3527, allocations: 83.27 kB / 0.5699 GB, free: 11.79 MB / 414.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.0001428/0.3529, allocations: 260.4 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.353, allocations: 108.9 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.3531, allocations: 119.7 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/0.3531, allocations: 180.3 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.648e-05/0.3532, allocations: 180.2 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/0.3533, allocations: 180.2 kB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3535, allocations: 376.3 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-05/0.3536, allocations: 112.9 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.3536, allocations: 105 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.3537, allocations: 180.3 kB / 0.5716 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.3538, allocations: 184.2 kB / 0.5718 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.3539, allocations: 176.3 kB / 0.572 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.388e-05/0.354, allocations: 180.2 kB / 0.5722 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3541, allocations: 303.8 kB / 0.5724 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.3542, allocations: 116.8 kB / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3543, allocations: 180.3 kB / 0.5727 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.3544, allocations: 116.9 kB / 0.5728 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.3545, allocations: 176.3 kB / 0.573 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.3545, allocations: 105 kB / 0.5731 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.3546, allocations: 83.2 kB / 0.5732 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3546, allocations: 0 / 0.5732 GB, free: 8.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.3551, allocations: 135.6 kB / 0.5733 GB, free: 8.109 MB / 414.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.00089/0.356, allocations: 416.5 kB / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.763e-05/0.356, allocations: 0 / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.356, allocations: 0 / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.356, allocations: 4 kB / 0.5737 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3564, allocations: 457.3 kB / 0.5742 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.3567, allocations: 148.4 kB / 0.5743 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.357, allocations: 0.6806 MB / 0.575 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.531e-06/0.357, allocations: 3.938 kB / 0.575 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.357, allocations: 7.438 kB / 0.575 GB, free: 6.352 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.357, allocations: 0 / 0.575 GB, free: 6.352 MB / 414.1 MB Notification: Performance of Templates: time 0.008092/0.3651, allocations: 3.259 MB / 0.5782 GB, free: 3.098 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.01202133204788]