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.0009414/0.0009414, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00123/0.00123, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9986/0.9986, allocations: 177 MB / 205.2 MB, free: 5.074 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.2915/0.2915, allocations: 34.85 MB / 296.6 MB, free: 460 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 1.233e-06/1.233e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.109e-05, allocations: 7.484 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001032/0.001053, allocations: 0.5404 MB / 326.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.003816, allocations: 2.238 MB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-06/0.003821, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.782e-06/0.003827, allocations: 4 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.253e-06/0.003829, allocations: 4 kB / 328.7 MB, free: 4.328 MB / 298.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.001381/0.00521, allocations: 0.5606 MB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.306e-05/0.005253, allocations: 4.625 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.005282, allocations: 7.969 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.005405, allocations: 15.94 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.005445, allocations: 8 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.005451, allocations: 0 / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009437/0.006394, allocations: 0.6832 MB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.006403, allocations: 4 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.006418, allocations: 0 / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.00699, allocations: 0.5534 MB / 330.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006993, allocations: 0 / 330.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006994, allocations: 0 / 330.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006997, allocations: 4 kB / 330.6 MB, free: 2.484 MB / 298.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.0002622/0.00726, allocations: 329.6 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007293, allocations: 12.03 kB / 330.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.007334, allocations: 76.22 kB / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.38e-05/0.007398, allocations: 181.1 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.007436, allocations: 150.9 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.00747, allocations: 154.9 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.722e-05/0.007517, allocations: 109.5 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.007538, allocations: 79.22 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.007578, allocations: 154.6 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.007618, allocations: 154.6 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.007657, allocations: 162.5 kB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.007803, allocations: 357.3 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.007872, allocations: 173.1 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.007894, allocations: 80.14 kB / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.007914, allocations: 75.28 kB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.00796, allocations: 131.5 kB / 332.9 MB, free: 40 kB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.007961, allocations: 4 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.834e-05/0.008009, allocations: 25.7 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.008074, allocations: 164.2 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.674e-05/0.008101, allocations: 93.84 kB / 333.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.008111, allocations: 37.7 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.008133, allocations: 80.14 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-07/0.008134, allocations: 0 / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.008152, allocations: 13.72 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.008225, allocations: 310.8 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-06/0.008228, allocations: 0 / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.00825, allocations: 29.7 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.00827, allocations: 75.28 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.008287, allocations: 75.28 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.817e-05/0.008325, allocations: 33.69 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.008351, allocations: 80.53 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.00837, allocations: 83.25 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/0.008409, allocations: 154.6 kB / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.805e-05/0.008427, allocations: 79.22 kB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/0.008461, allocations: 154.5 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.008503, allocations: 79.28 kB / 334.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.008524, allocations: 87.2 kB / 334.5 MB, free: 14.34 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 8.165e-05/0.008606, allocations: 260.4 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.008906, allocations: 101 kB / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.008942, allocations: 111.9 kB / 335 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/0.008987, allocations: 176.3 kB / 335.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/0.009032, allocations: 188.2 kB / 335.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/0.009082, allocations: 188.1 kB / 335.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.009212, allocations: 317.4 kB / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.009238, allocations: 113.2 kB / 335.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.009266, allocations: 105 kB / 336 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-05/0.009313, allocations: 188.1 kB / 336.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.00936, allocations: 180.3 kB / 336.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.631e-05/0.009406, allocations: 176.3 kB / 336.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.442e-05/0.009451, allocations: 180.2 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.009556, allocations: 315.7 kB / 337.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.009584, allocations: 105 kB / 337.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.009639, allocations: 180.3 kB / 337.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.00969, allocations: 104.9 kB / 337.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.009747, allocations: 184.2 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.009772, allocations: 104.9 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.044e-05/0.009783, allocations: 4.859 kB / 337.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009783, allocations: 0 / 337.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000321/0.0101, allocations: 139.6 kB / 337.9 MB, free: 10.81 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.0005726/0.01068, allocations: 445.2 kB / 338.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.044e-05/0.01072, allocations: 4 kB / 338.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01072, allocations: 0 / 338.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.01072, allocations: 0 / 338.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.01089, allocations: 461.4 kB / 338.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001223/0.01102, allocations: 166.7 kB / 338.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.01105, allocations: 55.3 kB / 339 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.184e-06/0.01105, allocations: 4 kB / 339 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.0111, allocations: 59.36 kB / 339 MB, free: 9.602 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0111, allocations: 4 kB / 339 MB, free: 9.598 MB / 314.7 MB Notification: Performance of Templates: time 0.005451/0.01655, allocations: 3.75 MB / 342.8 MB, free: 5.859 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 -s gbode -gbm=radauIIA3 -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: 2.935267671942711]