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.001318/0.001318, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001403/0.001403, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9671/0.9671, allocations: 177.1 MB / 205 MB, free: 5.242 MB / 186.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.26/0.26, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.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 1.593e-06/1.593e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.34e-05, allocations: 5.406 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001452/0.001475, allocations: 0.493 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.004887, allocations: 2.249 MB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-06/0.004892, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.195e-06/0.0049, allocations: 4 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.004905, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.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.002186/0.007091, allocations: 0.6152 MB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.007135, allocations: 7.984 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.706e-05/0.007162, allocations: 0 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.007307, allocations: 15.94 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.007351, allocations: 7.984 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.007357, allocations: 4 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.008425, allocations: 0.6465 MB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.008432, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.008448, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.009218, allocations: 0.5573 MB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.009221, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009222, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.009226, allocations: 0 / 382.6 MB, free: 14.03 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.0003857/0.009611, allocations: 457.3 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.00965, allocations: 8.031 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.009719, allocations: 124.1 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.009817, allocations: 235.8 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.009884, allocations: 238.8 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.009947, allocations: 238.8 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.01002, allocations: 145.5 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.01006, allocations: 123.1 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.274e-05/0.01014, allocations: 242.4 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.01021, allocations: 242.3 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.01028, allocations: 246.3 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.01056, allocations: 0.5681 MB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.01066, allocations: 261.4 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.01071, allocations: 130.9 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.01075, allocations: 123.2 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/0.01082, allocations: 178.3 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.01083, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.258e-05/0.0109, allocations: 41.58 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.01098, allocations: 196.3 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.01103, allocations: 142.2 kB / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01104, allocations: 25.7 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.01108, allocations: 134.9 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.01108, allocations: 0 / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.01111, allocations: 19.38 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01125, allocations: 496.1 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.01126, allocations: 0 / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.01129, allocations: 25.7 kB / 387.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.0115, allocations: 123.2 kB / 387.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.01153, allocations: 119.2 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.536e-05/0.01158, allocations: 33.64 kB / 387.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.01163, allocations: 123.2 kB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.01166, allocations: 131.2 kB / 387.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.381e-05/0.01174, allocations: 250.2 kB / 387.9 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.01178, allocations: 119.2 kB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.134e-05/0.01184, allocations: 242.4 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.01192, allocations: 127.1 kB / 388.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.01195, allocations: 119.2 kB / 388.5 MB, free: 7.879 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 0.000148/0.01209, allocations: 399 kB / 388.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.01215, allocations: 152.8 kB / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.0122, allocations: 151.9 kB / 389.2 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/0.01227, allocations: 276 kB / 389.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.008e-05/0.01234, allocations: 272 kB / 389.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.989e-05/0.01241, allocations: 264.1 kB / 390 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.01262, allocations: 499.8 kB / 390.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/0.01266, allocations: 149.1 kB / 390.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.01272, allocations: 156.8 kB / 390.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.01279, allocations: 268 kB / 391.1 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.01285, allocations: 264.1 kB / 391.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.095e-05/0.01292, allocations: 272 kB / 391.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-05/0.01299, allocations: 272 kB / 391.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.01313, allocations: 444 kB / 392.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.01317, allocations: 148.9 kB / 392.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.01325, allocations: 276 kB / 392.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01333, allocations: 156.9 kB / 392.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.0134, allocations: 272 kB / 393.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.01343, allocations: 148.9 kB / 393.3 MB, free: 2.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.01347, allocations: 119.2 kB / 393.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01347, allocations: 0 / 393.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004672/0.01394, allocations: 139.6 kB / 393.5 MB, free: 2.695 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.0005734/0.01451, allocations: 490.1 kB / 394 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.035e-05/0.01455, allocations: 0 / 394 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01455, allocations: 0 / 394 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.01456, allocations: 7.922 kB / 394 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01481, allocations: 0.7101 MB / 394.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.01498, allocations: 206 kB / 394.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.01501, allocations: 51.36 kB / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.02e-06/0.01502, allocations: 0 / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.01503, allocations: 8.5 kB / 395 MB, free: 1.184 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01503, allocations: 8 kB / 395 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Templates: time 0.005335/0.02037, allocations: 3.878 MB / 398.9 MB, free: 13.31 MB / 378.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 -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: 3.2173656271770597]