Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.072/1.072, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2669/0.2669, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.541e-05, allocations: 2.312 kB / 378.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001176/0.001211, allocations: 0.504 MB / 379.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.003859, allocations: 2.233 MB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-06/0.003864, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.788e-06/0.003874, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.623e-06/0.003876, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.001679/0.005555, allocations: 0.623 MB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.005597, allocations: 8 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.005636, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005781, allocations: 23.92 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.005825, allocations: 7.984 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.005832, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.006683, allocations: 0.6357 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.006693, allocations: 0 / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.006708, allocations: 4 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.007395, allocations: 0.5573 MB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007398, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0074, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007404, allocations: 0 / 383.3 MB, free: 13.45 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.0003464/0.007751, allocations: 461.2 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.007793, allocations: 8.031 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.007853, allocations: 124.1 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.007934, allocations: 231.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.008157, allocations: 238.8 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.008213, allocations: 242.8 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.445e-05/0.008278, allocations: 149.5 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.008305, allocations: 123.1 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.008366, allocations: 238.4 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.00843, allocations: 246.4 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.008486, allocations: 242.3 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.008682, allocations: 0.5681 MB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.008763, allocations: 265.4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.008803, allocations: 126.9 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.008826, allocations: 119.2 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/0.008887, allocations: 182.3 kB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.008888, allocations: 0 / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.617e-05/0.008944, allocations: 33.58 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.009029, allocations: 200.3 kB / 387.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.961e-05/0.009069, allocations: 146.2 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.009078, allocations: 25.7 kB / 387.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.009109, allocations: 130.8 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-06/0.009111, allocations: 0 / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.009133, allocations: 27.36 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.00925, allocations: 492.1 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.009255, allocations: 4 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.009285, allocations: 25.7 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.009318, allocations: 119.2 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/0.009347, allocations: 119.2 kB / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.338e-05/0.00938, allocations: 33.69 kB / 388.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.009419, allocations: 127.2 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.009451, allocations: 131.2 kB / 388.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.348e-05/0.009514, allocations: 242.3 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.009541, allocations: 123.1 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.283e-05/0.009604, allocations: 246.4 kB / 389 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.009656, allocations: 123.1 kB / 389.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.009683, allocations: 119.2 kB / 389.3 MB, free: 7.293 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.0001098/0.009792, allocations: 395 kB / 389.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.009842, allocations: 156.8 kB / 389.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.00989, allocations: 147.9 kB / 389.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/0.009949, allocations: 276 kB / 390.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-05/0.01001, allocations: 272 kB / 390.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/0.01006, allocations: 264.1 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01022, allocations: 499.8 kB / 391.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.01025, allocations: 145.2 kB / 391.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.01028, allocations: 148.9 kB / 391.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.0105, allocations: 276 kB / 391.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.01056, allocations: 264.1 kB / 392 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.01061, allocations: 272 kB / 392.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.117e-05/0.01067, allocations: 272 kB / 392.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.01079, allocations: 448 kB / 393 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.01083, allocations: 152.9 kB / 393.1 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.01091, allocations: 276 kB / 393.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.01096, allocations: 144.9 kB / 393.6 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.01103, allocations: 276 kB / 393.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.01108, allocations: 144.9 kB / 394 MB, free: 2.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.01111, allocations: 119.2 kB / 394.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01111, allocations: 3.938 kB / 394.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004338/0.01155, allocations: 143.6 kB / 394.2 MB, free: 2.113 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.0007159/0.01226, allocations: 499.3 kB / 394.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.01231, allocations: 0 / 394.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01232, allocations: 4 kB / 394.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.01232, allocations: 3.938 kB / 394.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.0126, allocations: 0.7023 MB / 395.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.01276, allocations: 206 kB / 395.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.01281, allocations: 55.34 kB / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.292e-06/0.01281, allocations: 4 kB / 395.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.01283, allocations: 12.5 kB / 395.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01283, allocations: 0 / 395.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of Templates: time 0.005785/0.01862, allocations: 3.354 MB / 399.1 MB, free: 13.24 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.3763376609422266]