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.001213/0.001213, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001423/0.001423, allocations: 164.5 kB / 24.99 MB, free: 8.746 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 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3761/0.3761, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 179] 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.383e-06/1.383e-06, allocations: 0 / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.491e-05, allocations: 2.312 kB / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001054/0.001079, allocations: 0.493 MB / 378.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.003835, allocations: 2.241 MB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-06/0.003841, allocations: 0 / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.928e-06/0.003851, allocations: 0 / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.114e-06/0.003853, allocations: 0 / 380.7 MB, free: 272 kB / 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.001668/0.005521, allocations: 0.6153 MB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.005569, allocations: 7.984 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.005596, allocations: 7.938 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.005742, allocations: 19.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.005788, allocations: 7.984 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-06/0.005795, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.006633, allocations: 0.6396 MB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-06/0.006641, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.006663, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.00734, allocations: 0.5651 MB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007343, allocations: 4 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007343, allocations: 0 / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.007348, allocations: 0 / 382.6 MB, free: 14.39 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.0003651/0.007713, allocations: 453.3 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.007759, allocations: 12.03 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.007827, allocations: 120.1 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.007913, allocations: 223.8 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.007976, allocations: 242.8 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.008037, allocations: 242.7 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.008116, allocations: 145.5 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.00815, allocations: 131.1 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.008302, allocations: 242.4 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.008361, allocations: 242.3 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.008426, allocations: 242.4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.008657, allocations: 0.5642 MB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.008753, allocations: 269.4 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.008793, allocations: 130.9 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.008828, allocations: 119.2 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.142e-05/0.0089, allocations: 178.3 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.008901, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.75e-05/0.008968, allocations: 33.64 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.00904, allocations: 204.2 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.00908, allocations: 142.2 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.009092, allocations: 29.69 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.009129, allocations: 126.9 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.009131, allocations: 4 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.009152, allocations: 19.38 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.009272, allocations: 496.1 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.009277, allocations: 0 / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.009306, allocations: 25.7 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.009347, allocations: 123.2 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-05/0.009379, allocations: 123.2 kB / 387.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.956e-05/0.009418, allocations: 25.7 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.009463, allocations: 131.2 kB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.0095, allocations: 131.1 kB / 387.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.009793, allocations: 242.3 kB / 387.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.00983, allocations: 127.1 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-05/0.009892, allocations: 238.4 kB / 388.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.009947, allocations: 123.2 kB / 388.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.009979, allocations: 127.1 kB / 388.5 MB, free: 8.242 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.0001276/0.01011, allocations: 395 kB / 388.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.01016, allocations: 156.9 kB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.01021, allocations: 151.8 kB / 389.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-05/0.01028, allocations: 272 kB / 389.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/0.01036, allocations: 272 kB / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/0.01043, allocations: 264.1 kB / 390 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.01059, allocations: 495.9 kB / 390.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-05/0.01063, allocations: 149.1 kB / 390.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.01066, allocations: 156.8 kB / 390.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.357e-05/0.01073, allocations: 272 kB / 391 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.01079, allocations: 268.1 kB / 391.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.36e-05/0.01086, allocations: 268.1 kB / 391.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.391e-05/0.01093, allocations: 276 kB / 391.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.01107, allocations: 440 kB / 392.3 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.01111, allocations: 156.9 kB / 392.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.01119, allocations: 268.1 kB / 392.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.01126, allocations: 152.8 kB / 392.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.01133, allocations: 268 kB / 393.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.01137, allocations: 152.8 kB / 393.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.01141, allocations: 119.2 kB / 393.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01141, allocations: 0 / 393.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.01175, allocations: 143.6 kB / 393.5 MB, free: 3.062 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.0006233/0.01238, allocations: 498.3 kB / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.699e-05/0.01242, allocations: 0 / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01243, allocations: 0 / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.01243, allocations: 0 / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.01272, allocations: 0.7062 MB / 394.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/0.01285, allocations: 213.9 kB / 394.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.01289, allocations: 59.34 kB / 394.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.01289, allocations: 0 / 394.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.0129, allocations: 8.5 kB / 395 MB, free: 1.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/0.01291, allocations: 0 / 395 MB, free: 1.543 MB / 362.7 MB Notification: Performance of Templates: time 0.006252/0.01916, allocations: 3.359 MB / 398.3 MB, free: 14.19 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.354673719033599]