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.0008355/0.0008355, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.0009508/0.0009508, allocations: 160.8 kB / 25.61 MB, free: 8.578 MB / 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 0.9682/0.9682, allocations: 177 MB / 205.9 MB, free: 4.457 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.1696/0.1696, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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 1.714e-06/1.714e-06, allocations: 3.938 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.833e-05, allocations: 4.281 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001664/0.001693, allocations: 498.3 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.004591, allocations: 2.22 MB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-06/0.004596, allocations: 3.938 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-06/0.004605, allocations: 0 / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.004607, allocations: 0 / 382.7 MB, free: 20.02 MB / 314.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.001853/0.00646, allocations: 0.6036 MB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.006503, allocations: 19.97 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.725e-05/0.006531, allocations: 4 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.006649, allocations: 11.94 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.803e-05/0.006687, allocations: 7.984 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.006692, allocations: 0 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008311/0.007523, allocations: 0.6318 MB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-06/0.007529, allocations: 0 / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.007546, allocations: 7.984 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.008135, allocations: 0.5612 MB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.008137, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008137, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.008141, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.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.0003016/0.008443, allocations: 457.3 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.008481, allocations: 8.031 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.008523, allocations: 124.1 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.75e-05/0.008591, allocations: 223.8 kB / 385.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.008625, allocations: 238.8 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.008654, allocations: 238.8 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.148e-05/0.008705, allocations: 153.5 kB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.008726, allocations: 127.1 kB / 386.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.008768, allocations: 246.3 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.008801, allocations: 238.4 kB / 386.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.008836, allocations: 242.4 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.009007, allocations: 0.5491 MB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.009076, allocations: 269.4 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.009101, allocations: 130.8 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.009115, allocations: 119.2 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.009157, allocations: 182.3 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.009158, allocations: 4 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.941e-05/0.009207, allocations: 25.7 kB / 388.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.009266, allocations: 200.2 kB / 388.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.795e-05/0.009284, allocations: 146.2 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.009291, allocations: 29.7 kB / 388.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.009305, allocations: 130.9 kB / 388.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.009306, allocations: 0 / 388.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.009326, allocations: 19.38 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.009367, allocations: 492.1 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-06/0.00937, allocations: 3.938 kB / 389.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.00939, allocations: 33.7 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.181e-05/0.009402, allocations: 123.2 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.009411, allocations: 119.2 kB / 389.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.255e-05/0.009444, allocations: 33.75 kB / 389.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.009463, allocations: 127.2 kB / 389.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.009477, allocations: 127.1 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.009505, allocations: 238.4 kB / 389.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-05/0.009517, allocations: 119.2 kB / 390 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.009539, allocations: 246.2 kB / 390.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.009576, allocations: 123.2 kB / 390.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.009588, allocations: 123.1 kB / 390.4 MB, free: 12.05 MB / 314.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 5.778e-05/0.009645, allocations: 399 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.009673, allocations: 152.9 kB / 391 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.009694, allocations: 151.9 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.00972, allocations: 268 kB / 391.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.009746, allocations: 268 kB / 391.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.009772, allocations: 272 kB / 391.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.16e-05/0.009864, allocations: 480.5 kB / 392.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.009878, allocations: 148.9 kB / 392.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.009892, allocations: 153.1 kB / 392.7 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-05/0.009915, allocations: 272.1 kB / 392.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.009938, allocations: 276 kB / 393.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/0.009961, allocations: 272 kB / 393.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.627e-05/0.009987, allocations: 264.1 kB / 393.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.01005, allocations: 447.9 kB / 394.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.01007, allocations: 160.8 kB / 394.3 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.0101, allocations: 268.1 kB / 394.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.204e-05/0.01014, allocations: 144.9 kB / 394.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.01017, allocations: 272 kB / 395 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01019, allocations: 144.9 kB / 395.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.859e-05/0.01021, allocations: 119.2 kB / 395.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01021, allocations: 0 / 395.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.01049, allocations: 151.5 kB / 395.4 MB, free: 6.887 MB / 314.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.0004564/0.01095, allocations: 481.5 kB / 395.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.658e-05/0.01099, allocations: 7.938 kB / 395.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01099, allocations: 0 / 395.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.01099, allocations: 4 kB / 395.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01116, allocations: 0.7062 MB / 396.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.382e-05/0.01124, allocations: 200 kB / 396.8 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.369e-05/0.01127, allocations: 59.2 kB / 396.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.032e-06/0.01127, allocations: 3.938 kB / 396.8 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.01131, allocations: 74.2 kB / 396.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01131, allocations: 0 / 396.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Templates: time 0.004281/0.01559, allocations: 3.798 MB / 400.7 MB, free: 1.523 MB / 314.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.4316697139292955]