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.001439/0.001439, 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.001578/0.001578, 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.574 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.2777/0.2777, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 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 1.653e-06/1.653e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.235e-05, allocations: 7.094 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0009546/0.0009769, allocations: 0.5033 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.003525, allocations: 2.241 MB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-06/0.00353, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.027e-06/0.003539, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.003545, allocations: 4 kB / 381.5 MB, free: 15.34 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.001611/0.005156, allocations: 0.6114 MB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.36e-05/0.0052, allocations: 11.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.465e-05/0.005224, allocations: 0 / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.005366, allocations: 23.91 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.005404, allocations: 4 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-06/0.00541, allocations: 3.938 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.006227, allocations: 0.6397 MB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.006234, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.006247, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.006811, allocations: 0.5612 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006813, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006814, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.006819, allocations: 0 / 383.3 MB, free: 13.48 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.0003197/0.007138, allocations: 457.3 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.007177, allocations: 16.03 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.007235, allocations: 120.1 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.007321, allocations: 223.8 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.007387, allocations: 246.7 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.007441, allocations: 242.7 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.007516, allocations: 145.5 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.007549, allocations: 127.1 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.00761, allocations: 242.4 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/0.007667, allocations: 238.4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.007728, allocations: 238.4 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.007961, allocations: 0.572 MB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.008062, allocations: 273.4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.008099, allocations: 126.9 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.00813, allocations: 123.2 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.92e-05/0.008199, allocations: 178.3 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.0082, allocations: 0 / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.302e-05/0.008263, allocations: 37.58 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.008338, allocations: 196.3 kB / 387.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.256e-05/0.008381, allocations: 142.2 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.00839, allocations: 25.7 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.008428, allocations: 126.9 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.008432, allocations: 8 kB / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.008458, allocations: 23.36 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.008584, allocations: 496.1 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-06/0.00859, allocations: 0 / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.008618, allocations: 25.7 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.008652, allocations: 123.2 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.008682, allocations: 119.2 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.668e-05/0.008719, allocations: 25.75 kB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.008763, allocations: 127.2 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.008794, allocations: 127.1 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.651e-05/0.008861, allocations: 246.3 kB / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.008891, allocations: 131.1 kB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.965e-05/0.00894, allocations: 238.4 kB / 389 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.008988, allocations: 123.2 kB / 389.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.00901, allocations: 127.1 kB / 389.3 MB, free: 7.324 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.0001027/0.009113, allocations: 395 kB / 389.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.009155, allocations: 144.9 kB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.013e-05/0.009195, allocations: 155.8 kB / 389.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/0.009255, allocations: 276 kB / 390.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.846e-05/0.009313, allocations: 276 kB / 390.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.009369, allocations: 264.1 kB / 390.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.009532, allocations: 499.9 kB / 391.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.009566, allocations: 149.1 kB / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.009605, allocations: 152.9 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-05/0.009667, allocations: 272 kB / 391.8 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.009726, allocations: 264.1 kB / 392 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.956e-05/0.009786, allocations: 272.1 kB / 392.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.13e-05/0.009847, allocations: 272 kB / 392.6 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.009971, allocations: 440 kB / 393 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.01001, allocations: 152.9 kB / 393.2 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.01007, allocations: 272.1 kB / 393.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.01013, allocations: 156.8 kB / 393.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.01019, allocations: 268 kB / 393.8 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.01023, allocations: 152.8 kB / 394 MB, free: 2.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.01026, allocations: 123.2 kB / 394.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01026, allocations: 0 / 394.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.01058, allocations: 143.6 kB / 394.2 MB, free: 2.141 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.0005938/0.01118, allocations: 0.4896 MB / 394.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.795e-05/0.01123, allocations: 4 kB / 394.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01123, allocations: 0 / 394.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.01123, allocations: 0 / 394.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01152, allocations: 0.7023 MB / 395.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.01167, allocations: 210 kB / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.01171, allocations: 55.36 kB / 395.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.11e-06/0.01171, allocations: 0 / 395.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.01173, allocations: 8.5 kB / 395.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01173, allocations: 0 / 395.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of Templates: time 0.005238/0.01696, allocations: 3.872 MB / 399.6 MB, free: 12.75 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.3007300957106054]