Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007907/0.0007907, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001889, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007417/0.0007417, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009572/0.001699, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.06/1.06, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.162, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2808/0.2808, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02795/0.3087, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.244e-05, allocations: 3.188 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001905/0.001938, allocations: 0.5417 MB / 293.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.004987, allocations: 2.245 MB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-06/0.004993, allocations: 0 / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-06/0.004997, allocations: 0 / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.6e-07/0.004998, allocations: 3.938 kB / 295.6 MB, free: 3.41 MB / 282.7 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.001947/0.006944, allocations: 0.5689 MB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.007, allocations: 8 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.007033, allocations: 11.98 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.007173, allocations: 15.92 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.007223, allocations: 4 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.007229, allocations: 0 / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.008408, allocations: 0.6903 MB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.008422, allocations: 3.938 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.008442, allocations: 4 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.009139, allocations: 435.1 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.009152, allocations: 4 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.009155, allocations: 0 / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.009169, allocations: 4 kB / 297.4 MB, free: 1.668 MB / 282.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.0004465/0.009616, allocations: 385.5 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.009658, allocations: 12.03 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.009721, allocations: 80.16 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/0.009819, allocations: 177.1 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.009868, allocations: 154.9 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.009911, allocations: 150.9 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.147e-05/0.009973, allocations: 101.5 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.01, allocations: 83.22 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.01006, allocations: 158.5 kB / 298.6 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.01011, allocations: 150.6 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.01016, allocations: 154.5 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.01037, allocations: 353.3 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.01044, allocations: 173.2 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.01047, allocations: 84.14 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.0105, allocations: 75.28 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/0.01057, allocations: 135.5 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.01057, allocations: 0 / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.823e-05/0.01064, allocations: 37.64 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.01073, allocations: 237.4 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.334e-05/0.01076, allocations: 89.86 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.01077, allocations: 25.7 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.0108, allocations: 84.14 kB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.41e-07/0.0108, allocations: 3.938 kB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.01083, allocations: 13.72 kB / 300.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.01093, allocations: 310.8 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.01093, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.01096, allocations: 33.7 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.01099, allocations: 75.28 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/0.01101, allocations: 79.31 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.101e-05/0.01106, allocations: 37.62 kB / 300.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.0111, allocations: 79.28 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.01113, allocations: 75.28 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.464e-05/0.01119, allocations: 158.5 kB / 301 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.01122, allocations: 75.28 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.826e-05/0.01127, allocations: 154.5 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.01133, allocations: 83.36 kB / 301.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.01136, allocations: 83.3 kB / 301.4 MB, free: 13.38 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.01147, allocations: 272.3 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.01152, allocations: 108.9 kB / 301.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.01156, allocations: 108 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.418e-05/0.01162, allocations: 176.3 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/0.01167, allocations: 180.2 kB / 302.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.01173, allocations: 192.2 kB / 302.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.01191, allocations: 317.4 kB / 302.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.01194, allocations: 105 kB / 302.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.01197, allocations: 105 kB / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.01202, allocations: 108.9 kB / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-05/0.01208, allocations: 180.3 kB / 303.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.01213, allocations: 180.2 kB / 303.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.122e-05/0.01218, allocations: 180.3 kB / 303.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.782e-05/0.01224, allocations: 184.2 kB / 303.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.01239, allocations: 303.8 kB / 304.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.01246, allocations: 192.2 kB / 304.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.01254, allocations: 101 kB / 304.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.0126, allocations: 184.2 kB / 304.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.01263, allocations: 105 kB / 304.6 MB, free: 10 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.794e-05/0.01265, allocations: 4.859 kB / 304.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01265, allocations: 0 / 304.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005841/0.01323, allocations: 135.6 kB / 304.8 MB, free: 9.859 MB / 298.7 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.00103/0.01426, allocations: 455 kB / 305.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.01433, allocations: 0 / 305.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.01433, allocations: 0 / 305.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.01434, allocations: 8 kB / 305.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01463, allocations: 467.6 kB / 305.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001692/0.0148, allocations: 166.1 kB / 305.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01484, allocations: 55.34 kB / 305.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.01485, allocations: 0 / 305.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.01493, allocations: 55.38 kB / 305.9 MB, free: 8.641 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01493, allocations: 0 / 305.9 MB, free: 8.641 MB / 298.7 MB Notification: Performance of Templates: time 0.008055/0.02298, allocations: 3.837 MB / 309.8 MB, free: 4.812 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9865089002996683]