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.001728/0.001728, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002094/0.002094, allocations: 167.8 kB / 24.5 MB, free: 3.453 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.517/1.517, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.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.2081/0.2081, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.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.002185/0.002185, allocations: 63.91 kB / 440.5 MB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3135, allocations: 65.44 MB / 0.4941 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00142/0.3149, allocations: 0.4999 MB / 0.4946 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3173, allocations: 2.159 MB / 0.4967 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-06/0.3173, allocations: 0 / 0.4967 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.335e-06/0.3173, allocations: 0 / 0.4967 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.3173, allocations: 2.938 kB / 0.4967 GB, free: 29.7 MB / 446.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.001783/0.3191, allocations: 0.6324 MB / 0.4973 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.641e-05/0.3192, allocations: 10.64 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.3192, allocations: 4 kB / 0.4974 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3193, allocations: 24.94 kB / 0.4974 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.3193, allocations: 3.188 kB / 0.4974 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-06/0.3193, allocations: 0 / 0.4974 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.3201, allocations: 0.6418 MB / 0.498 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.3201, allocations: 0 / 0.498 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3202, allocations: 7.094 kB / 0.498 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.3206, allocations: 450.1 kB / 0.4984 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3206, allocations: 0 / 0.4984 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3206, allocations: 0 / 0.4984 GB, free: 29.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3206, allocations: 0 / 0.4984 GB, free: 29.09 MB / 446.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.0002762/0.3209, allocations: 355.2 kB / 0.4988 GB, free: 28.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.321, allocations: 9.75 kB / 0.4988 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.321, allocations: 82.77 kB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.102e-05/0.3211, allocations: 181.8 kB / 0.499 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3211, allocations: 150.9 kB / 0.4992 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3211, allocations: 162 kB / 0.4993 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.254e-05/0.3211, allocations: 105 kB / 0.4994 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3211, allocations: 75.28 kB / 0.4995 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.3212, allocations: 150.6 kB / 0.4997 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.3212, allocations: 157.8 kB / 0.4998 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.3212, allocations: 150.6 kB / 0.5 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3214, allocations: 400.2 kB / 0.5003 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.925e-05/0.3214, allocations: 165.1 kB / 0.5005 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.3214, allocations: 87.33 kB / 0.5006 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.3214, allocations: 75.28 kB / 0.5006 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3215, allocations: 135.5 kB / 0.5008 GB, free: 26.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3215, allocations: 4 kB / 0.5008 GB, free: 26.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.237e-05/0.3215, allocations: 32.8 kB / 0.5008 GB, free: 26.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3216, allocations: 152.4 kB / 0.501 GB, free: 26.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.439e-05/0.3216, allocations: 89.86 kB / 0.501 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.3216, allocations: 28.92 kB / 0.5011 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.3216, allocations: 80.14 kB / 0.5011 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.3216, allocations: 0 / 0.5011 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.3216, allocations: 16.3 kB / 0.5012 GB, free: 26.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.3217, allocations: 317.9 kB / 0.5015 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.3217, allocations: 0 / 0.5015 GB, free: 25.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.3217, allocations: 36.7 kB / 0.5015 GB, free: 25.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.219e-05/0.3217, allocations: 79.31 kB / 0.5016 GB, free: 25.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.3217, allocations: 79.22 kB / 0.5016 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.627e-05/0.3217, allocations: 36.73 kB / 0.5017 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3218, allocations: 89.02 kB / 0.5018 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3218, allocations: 75.28 kB / 0.5018 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.3218, allocations: 150.6 kB / 0.502 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.025e-05/0.3218, allocations: 82.44 kB / 0.5021 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.3218, allocations: 150.6 kB / 0.5022 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3219, allocations: 86.56 kB / 0.5023 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3219, allocations: 79.33 kB / 0.5024 GB, free: 24.97 MB / 446.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 6.361e-05/0.322, allocations: 267 kB / 0.5026 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.322, allocations: 108.1 kB / 0.5027 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.322, allocations: 111.7 kB / 0.5028 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.3221, allocations: 176.3 kB / 0.503 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.3221, allocations: 190.6 kB / 0.5032 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.3221, allocations: 176.3 kB / 0.5033 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.3222, allocations: 352 kB / 0.5037 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.3222, allocations: 104.1 kB / 0.5038 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.3222, allocations: 104.4 kB / 0.5039 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.3222, allocations: 180.2 kB / 0.5041 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3223, allocations: 191.4 kB / 0.5042 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.252e-05/0.3223, allocations: 180.2 kB / 0.5044 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-05/0.3223, allocations: 182.8 kB / 0.5046 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.177e-05/0.3224, allocations: 302.9 kB / 0.5049 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.3224, allocations: 104.3 kB / 0.505 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.3224, allocations: 194.7 kB / 0.5052 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.3225, allocations: 101 kB / 0.5053 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.3225, allocations: 179.4 kB / 0.5054 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3225, allocations: 104.9 kB / 0.5055 GB, free: 21.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.417e-05/0.3225, allocations: 79.28 kB / 0.5056 GB, free: 21.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3225, allocations: 0 / 0.5056 GB, free: 21.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.323, allocations: 143.3 kB / 0.5057 GB, free: 21.48 MB / 446.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.0006382/0.3236, allocations: 419.3 kB / 0.5061 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.752e-05/0.3237, allocations: 4 kB / 0.5061 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3237, allocations: 3.125 kB / 0.5061 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3237, allocations: 0 / 0.5061 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3239, allocations: 464.1 kB / 0.5066 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001052/0.324, allocations: 155.9 kB / 0.5067 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.38e-05/0.324, allocations: 51.36 kB / 0.5068 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.759e-06/0.324, allocations: 0 / 0.5068 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-06/0.324, allocations: 11.56 kB / 0.5068 GB, free: 20.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.324, allocations: 0 / 0.5068 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Templates: time 0.006489/0.3305, allocations: 3.28 MB / 0.51 GB, free: 20.23 MB / 446.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 -s ida -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: 5.116257289075293]