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.0009532/0.0009532, 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.00164/0.00164, allocations: 172.5 kB / 24.82 MB, free: 9.312 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.094/1.094, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3601/0.3601, allocations: 34.26 MB / 296.1 MB, free: 0.707 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 2.104e-06/2.104e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/2.005e-05, allocations: 2.312 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00107/0.00109, allocations: 496.8 kB / 379 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.004063, allocations: 2.233 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-06/0.00407, allocations: 0 / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.00408, allocations: 0 / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.343e-06/0.004081, allocations: 7.938 kB / 381.2 MB, free: 15.66 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.00138/0.005462, allocations: 0.6114 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.005507, allocations: 8 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.786e-05/0.005534, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.005666, allocations: 23.86 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.005711, allocations: 11.92 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.005718, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000692/0.00641, allocations: 0.628 MB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.006418, allocations: 0 / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.006435, allocations: 4 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.006988, allocations: 0.5534 MB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00699, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006991, allocations: 3.938 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.006996, allocations: 0 / 383 MB, free: 13.81 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.0003503/0.007346, allocations: 449.3 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.007395, allocations: 16.03 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.00747, allocations: 120.1 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.007575, allocations: 227.8 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.007665, allocations: 238.8 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.007748, allocations: 250.7 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.114e-05/0.007829, allocations: 145.5 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.007878, allocations: 123.1 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.007966, allocations: 238.4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.008045, allocations: 242.4 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.008135, allocations: 242.3 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.008384, allocations: 0.5491 MB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.008492, allocations: 269.4 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.008533, allocations: 126.9 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.00857, allocations: 123.2 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.366e-05/0.008654, allocations: 186.2 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.008655, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.882e-05/0.008714, allocations: 29.69 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.008797, allocations: 204.2 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.008853, allocations: 142.2 kB / 386.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.008865, allocations: 25.7 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.008907, allocations: 126.9 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.008909, allocations: 4 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.008931, allocations: 19.38 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.009075, allocations: 496.1 kB / 387.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-06/0.009078, allocations: 0 / 387.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.009108, allocations: 25.7 kB / 387.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.00915, allocations: 119.2 kB / 387.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-05/0.009188, allocations: 127.1 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.767e-05/0.009225, allocations: 33.73 kB / 387.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.009273, allocations: 127.2 kB / 388 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.009311, allocations: 119.2 kB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.253e-05/0.009393, allocations: 250.3 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/0.009428, allocations: 119.2 kB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.526e-05/0.009503, allocations: 250.2 kB / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.00956, allocations: 119.2 kB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.009595, allocations: 123.2 kB / 388.9 MB, free: 7.688 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.0001403/0.009736, allocations: 394.9 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.009797, allocations: 156.8 kB / 389.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.009854, allocations: 151.8 kB / 389.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/0.009935, allocations: 276 kB / 389.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.677e-05/0.01001, allocations: 272 kB / 390.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-05/0.01009, allocations: 272.1 kB / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01028, allocations: 480.5 kB / 390.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/0.01032, allocations: 145.2 kB / 391 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.01037, allocations: 152.8 kB / 391.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-05/0.01045, allocations: 272.1 kB / 391.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.01053, allocations: 268.1 kB / 391.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.867e-05/0.01061, allocations: 272 kB / 392 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.741e-05/0.01069, allocations: 268.1 kB / 392.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.01085, allocations: 447.9 kB / 392.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.0109, allocations: 148.8 kB / 392.8 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.01098, allocations: 272.1 kB / 393.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.01105, allocations: 148.9 kB / 393.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.01113, allocations: 276 kB / 393.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.01118, allocations: 148.9 kB / 393.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.01122, allocations: 119.2 kB / 393.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01122, allocations: 0 / 393.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000311/0.01153, allocations: 139.5 kB / 393.9 MB, free: 2.531 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.0006246/0.01215, allocations: 0.4922 MB / 394.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.927e-05/0.0122, allocations: 3.938 kB / 394.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01221, allocations: 0 / 394.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.01221, allocations: 4 kB / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01252, allocations: 0.7062 MB / 395.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.01268, allocations: 202.1 kB / 395.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.01272, allocations: 55.34 kB / 395.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.643e-06/0.01273, allocations: 0 / 395.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.01279, allocations: 74.2 kB / 395.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01279, allocations: 8 kB / 395.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of Templates: time 0.005835/0.01862, allocations: 3.788 MB / 399.2 MB, free: 13.16 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.438240149989724]