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.0009549/0.0009549, allocations: 82.66 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001148/0.001148, allocations: 172 kB / 24.82 MB, free: 9.285 MB / 18.57 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 0.9616/0.9616, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.258/0.258, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 376.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.531e-05, allocations: 2.312 kB / 376.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001387/0.001412, allocations: 0.5085 MB / 377 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.003891, allocations: 2.218 MB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-06/0.003895, allocations: 0 / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.765e-06/0.003903, allocations: 4 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.003904, allocations: 0 / 379.2 MB, free: 1.676 MB / 346.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.001403/0.005306, allocations: 0.6153 MB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.005339, allocations: 4 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.086e-05/0.00536, allocations: 4 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.005463, allocations: 23.86 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.005502, allocations: 7.984 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.005507, allocations: 0 / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.006192, allocations: 0.6279 MB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-06/0.006198, allocations: 0 / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.006211, allocations: 4 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000838/0.007049, allocations: 0.5495 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.007051, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007052, allocations: 7.938 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.007056, allocations: 0 / 381 MB, free: 15.83 MB / 362.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.0002875/0.007343, allocations: 453.3 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.007375, allocations: 8.031 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.007421, allocations: 120.1 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/0.007488, allocations: 231.8 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.007536, allocations: 242.8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.007578, allocations: 242.8 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.629e-05/0.007635, allocations: 153.4 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.007659, allocations: 123.1 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.00771, allocations: 242.4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.007757, allocations: 242.4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.007806, allocations: 242.4 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.007988, allocations: 0.5452 MB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.008062, allocations: 273.4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.008091, allocations: 126.9 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.008114, allocations: 119.2 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.008169, allocations: 186.3 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.00817, allocations: 4 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.741e-05/0.008217, allocations: 33.62 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.008269, allocations: 204.2 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.008301, allocations: 142.2 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.00831, allocations: 29.7 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.008347, allocations: 126.9 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.008348, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.008368, allocations: 19.38 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.008464, allocations: 492.1 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-06/0.008467, allocations: 0 / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.008491, allocations: 33.7 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.008517, allocations: 123.2 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.008539, allocations: 119.2 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.45e-05/0.008573, allocations: 33.75 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.008604, allocations: 123.2 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.008631, allocations: 123.1 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.362e-05/0.008685, allocations: 242.4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-05/0.008709, allocations: 123.1 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.061e-05/0.00876, allocations: 246.3 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.008811, allocations: 123.2 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.008835, allocations: 127.1 kB / 386.9 MB, free: 9.695 MB / 362.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 9.108e-05/0.008926, allocations: 399 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.008968, allocations: 144.9 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.009006, allocations: 155.8 kB / 387.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.009058, allocations: 268.1 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/0.009109, allocations: 272 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-05/0.009161, allocations: 276 kB / 388.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.009549, allocations: 472.5 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.009579, allocations: 153.1 kB / 389 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.00961, allocations: 148.9 kB / 389.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.233e-05/0.009662, allocations: 268.1 kB / 389.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.009711, allocations: 276 kB / 389.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/0.009762, allocations: 264.1 kB / 389.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-05/0.009812, allocations: 272 kB / 390.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.009924, allocations: 451.9 kB / 390.6 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.009954, allocations: 144.9 kB / 390.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.01001, allocations: 276.1 kB / 391.1 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.01006, allocations: 152.8 kB / 391.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.01012, allocations: 264.1 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.01015, allocations: 160.8 kB / 391.6 MB, free: 4.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.01018, allocations: 119.2 kB / 391.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01018, allocations: 4 kB / 391.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.01051, allocations: 139.5 kB / 391.9 MB, free: 4.539 MB / 362.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.0005377/0.01105, allocations: 492.5 kB / 392.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.748e-05/0.01109, allocations: 0 / 392.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01109, allocations: 0 / 392.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.01109, allocations: 0 / 392.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01136, allocations: 0.7121 MB / 393.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001321/0.01149, allocations: 214 kB / 393.3 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.742e-05/0.01152, allocations: 51.36 kB / 393.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.43e-06/0.01152, allocations: 0 / 393.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.01157, allocations: 74.2 kB / 393.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01158, allocations: 0 / 393.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of Templates: time 0.005297/0.01687, allocations: 3.796 MB / 397.2 MB, free: 15.17 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0247132922522724]