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.001081/0.001081, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.00268, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007281/0.0007281, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009352/0.001663, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08677/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2736/0.2736, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02632/0.2999, allocations: 13.1 MB / 291.3 MB, free: 7.371 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 3.045e-06/3.045e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.437e-05, allocations: 4.844 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001192/0.001216, allocations: 0.5416 MB / 293.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.004221, allocations: 2.245 MB / 295.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-06/0.004226, allocations: 0 / 295.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.276e-06/0.004229, allocations: 0 / 295.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.6e-07/0.004229, allocations: 0 / 295.4 MB, free: 3.512 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.001639/0.005869, allocations: 0.5684 MB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.00592, allocations: 12.5 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.453e-05/0.005944, allocations: 0 / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.006048, allocations: 23.91 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.006087, allocations: 4 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.006093, allocations: 0 / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.007039, allocations: 0.6872 MB / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-06/0.007045, allocations: 0 / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.007058, allocations: 4 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.00763, allocations: 451 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.007643, allocations: 4 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007643, allocations: 0 / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.00766, allocations: 0 / 297.1 MB, free: 1.766 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.000357/0.008017, allocations: 377.6 kB / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.008046, allocations: 12.03 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.008094, allocations: 76.22 kB / 297.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.991e-05/0.008164, allocations: 189 kB / 297.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.008204, allocations: 150.9 kB / 297.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.008244, allocations: 150.9 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.139e-05/0.008296, allocations: 109.5 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.008318, allocations: 83.22 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.008365, allocations: 150.6 kB / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.008404, allocations: 150.6 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.008444, allocations: 150.6 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.008625, allocations: 353.3 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/0.00869, allocations: 177.1 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.008715, allocations: 84.19 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.008736, allocations: 75.28 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.008793, allocations: 139.5 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.008794, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.123e-05/0.008845, allocations: 29.7 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.008903, allocations: 156.3 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.859e-05/0.008932, allocations: 93.84 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.008944, allocations: 29.7 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.008967, allocations: 80.14 kB / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-07/0.008968, allocations: 0 / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.008992, allocations: 13.72 kB / 299.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.009074, allocations: 318.8 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-06/0.009077, allocations: 0 / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.009101, allocations: 29.7 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.009121, allocations: 75.31 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-05/0.009144, allocations: 83.28 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.292e-05/0.009187, allocations: 29.7 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.009218, allocations: 83.28 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.00924, allocations: 79.22 kB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.384e-05/0.009284, allocations: 154.6 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.267e-05/0.009306, allocations: 75.28 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.19e-05/0.009348, allocations: 162.4 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.009413, allocations: 79.28 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.009434, allocations: 79.38 kB / 301.1 MB, free: 13.58 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 8.553e-05/0.009519, allocations: 268.3 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.009563, allocations: 105 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.0096, allocations: 119.9 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/0.009648, allocations: 184.2 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-05/0.009693, allocations: 176.3 kB / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-05/0.009743, allocations: 188.1 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.009888, allocations: 317.4 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.00992, allocations: 109 kB / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.009947, allocations: 104.9 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.009978, allocations: 105 kB / 302.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.01003, allocations: 184.2 kB / 302.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.01008, allocations: 180.3 kB / 303.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-05/0.01013, allocations: 188.2 kB / 303.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.106e-05/0.01018, allocations: 176.3 kB / 303.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.0103, allocations: 303.7 kB / 303.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.01035, allocations: 184.2 kB / 304 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.01043, allocations: 108.9 kB / 304.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.01048, allocations: 180.3 kB / 304.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.01051, allocations: 101 kB / 304.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.175e-05/0.01052, allocations: 4.859 kB / 304.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01052, allocations: 0 / 304.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.01095, allocations: 135.7 kB / 304.5 MB, free: 10.06 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.0006947/0.01164, allocations: 458.6 kB / 304.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.659e-05/0.01168, allocations: 352 / 304.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01168, allocations: 4 kB / 304.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.01168, allocations: 0 / 304.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.0119, allocations: 466.7 kB / 305.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.01202, allocations: 162 kB / 305.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.01206, allocations: 51.36 kB / 305.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.715e-06/0.01206, allocations: 0 / 305.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.01211, allocations: 55.38 kB / 305.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01211, allocations: 0 / 305.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of Templates: time 0.006131/0.01824, allocations: 3.761 MB / 309.4 MB, free: 5.094 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9239709824323654]