Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 65.46 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001603/0.357, allocations: 0.4937 MB / 0.5587 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.3605, allocations: 2.319 MB / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-06/0.3605, allocations: 0 / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.539e-06/0.3605, allocations: 0 / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.3605, allocations: 4 kB / 0.561 GB, free: 4.902 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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.002212/0.3627, allocations: 0.6335 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.3628, allocations: 12 kB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.3628, allocations: 3.984 kB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.363, allocations: 11.94 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.363, allocations: 7.984 kB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-06/0.363, allocations: 0 / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.3641, allocations: 0.6827 MB / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-06/0.3641, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.3641, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.3648, allocations: 454.7 kB / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3648, allocations: 0 / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3648, allocations: 0 / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3648, allocations: 0 / 0.5627 GB, free: 3.113 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.0004512/0.3652, allocations: 355.3 kB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3653, allocations: 8.031 kB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.3654, allocations: 76.22 kB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3655, allocations: 185.8 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.3656, allocations: 154.9 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.3656, allocations: 158.7 kB / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.3657, allocations: 101 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.3658, allocations: 79.28 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.3659, allocations: 154.6 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.366, allocations: 150.6 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.366, allocations: 154.5 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3664, allocations: 413 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3665, allocations: 173.1 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.3665, allocations: 84.08 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.3666, allocations: 79.22 kB / 0.5649 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.75e-05/0.3666, allocations: 139.5 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3666, allocations: 0 / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.271e-05/0.3667, allocations: 29.7 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.3668, allocations: 160.4 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.3669, allocations: 89.86 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3669, allocations: 25.7 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.3669, allocations: 84.12 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.367, allocations: 0 / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.367, allocations: 13.72 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3671, allocations: 318.8 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.3671, allocations: 4 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.3672, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/0.3672, allocations: 79.28 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.3673, allocations: 83.16 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.777e-05/0.3673, allocations: 33.7 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3674, allocations: 82.09 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.3674, allocations: 79.3 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-05/0.3675, allocations: 166.5 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.883e-05/0.3675, allocations: 75.28 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.775e-05/0.3676, allocations: 158.5 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3676, allocations: 79.28 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.3677, allocations: 79.33 kB / 0.5666 GB, free: 14.88 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.0001504/0.3678, allocations: 264.3 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.3679, allocations: 116.9 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.368, allocations: 107.8 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.184e-05/0.3681, allocations: 184.2 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.464e-05/0.3681, allocations: 180.3 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-05/0.3682, allocations: 176.3 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3685, allocations: 376.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.379e-05/0.3685, allocations: 112.9 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.3686, allocations: 104.9 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.3686, allocations: 176.3 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.3687, allocations: 176.3 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.501e-05/0.3688, allocations: 184.2 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.511e-05/0.3689, allocations: 180.3 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.369, allocations: 311.7 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.3691, allocations: 104.9 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3692, allocations: 192.2 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.3693, allocations: 109 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.3694, allocations: 180.2 kB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.3694, allocations: 105 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.3694, allocations: 75.28 kB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0 / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.37, allocations: 139.6 kB / 0.57 GB, free: 11.2 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.0008681/0.3709, allocations: 413 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.3709, allocations: 3.938 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3709, allocations: 0 / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3709, allocations: 0 / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3713, allocations: 463.6 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001806/0.3715, allocations: 178 kB / 0.5711 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3718, allocations: 0.669 MB / 0.5717 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.3718, allocations: 11.44 kB / 0.5717 GB, free: 9.414 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3718, allocations: 0 / 0.5717 GB, free: 9.414 MB / 414.1 MB Notification: Performance of Templates: time 0.005656/0.3775, allocations: 2.848 MB / 0.5745 GB, free: 6.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 8.867532921023667]