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.001663/0.001663, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002287/0.002287, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.505/1.505, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2162/0.2162, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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.954e-06/1.954e-06, allocations: 0 / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.03e-05, allocations: 2.281 kB / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001582/0.001612, allocations: 0.4996 MB / 443.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.005216, allocations: 2.183 MB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-06/0.00522, allocations: 0 / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.368e-06/0.005224, allocations: 0 / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.694e-06/0.005226, allocations: 4 kB / 445.3 MB, free: 2.648 MB / 366.1 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.002211/0.007438, allocations: 0.6345 MB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.007478, allocations: 8 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.995e-05/0.007508, allocations: 0 / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.007663, allocations: 23.92 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.007707, allocations: 7.984 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.007713, allocations: 0 / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.008778, allocations: 0.6357 MB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-06/0.008785, allocations: 0 / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.008808, allocations: 3.984 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.009604, allocations: 0.5614 MB / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.009608, allocations: 0 / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.009609, allocations: 4 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.009613, allocations: 0 / 447.2 MB, free: 0.7734 MB / 366.1 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.0004261/0.01004, allocations: 359.2 kB / 447.5 MB, free: 396 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.01008, allocations: 12.03 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.01015, allocations: 76.22 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.01028, allocations: 177.1 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2218/0.2321, allocations: 151.5 kB / 447.9 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2321, allocations: 151.8 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.2322, allocations: 105.3 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2322, allocations: 76.22 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.2322, allocations: 152.2 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.2322, allocations: 155.8 kB / 448.6 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.2323, allocations: 155.5 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.2325, allocations: 399.7 kB / 449.1 MB, free: 18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.2325, allocations: 172.3 kB / 449.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.2326, allocations: 81.77 kB / 449.4 MB, free: 17.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2326, allocations: 76.38 kB / 449.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.2326, allocations: 135.1 kB / 449.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.2326, allocations: 0 / 449.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.531e-05/0.2327, allocations: 29.47 kB / 449.6 MB, free: 17.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2328, allocations: 153.5 kB / 449.7 MB, free: 17.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.653e-05/0.2328, allocations: 98.11 kB / 449.8 MB, free: 17.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2328, allocations: 26.8 kB / 449.9 MB, free: 17.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.2328, allocations: 81.33 kB / 449.9 MB, free: 17.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2328, allocations: 0 / 449.9 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.2328, allocations: 15.56 kB / 450 MB, free: 17.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.2329, allocations: 317.5 kB / 450.3 MB, free: 16.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.2329, allocations: 3.312 kB / 450.3 MB, free: 16.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.2329, allocations: 31.02 kB / 450.3 MB, free: 16.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.425e-05/0.2329, allocations: 75.28 kB / 450.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.233, allocations: 80.34 kB / 450.5 MB, free: 16.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.339e-05/0.233, allocations: 34.22 kB / 450.5 MB, free: 16.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.233, allocations: 83.94 kB / 450.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2331, allocations: 77.78 kB / 450.6 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/0.2331, allocations: 156.2 kB / 450.8 MB, free: 16.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.074e-05/0.2331, allocations: 83.31 kB / 450.9 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.2331, allocations: 154.3 kB / 451 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.2332, allocations: 83.73 kB / 451.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2332, allocations: 76.53 kB / 451.2 MB, free: 15.9 MB / 366.1 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 6.557e-05/0.2333, allocations: 264.6 kB / 451.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.2333, allocations: 103.4 kB / 451.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.2333, allocations: 116 kB / 451.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.2334, allocations: 178.2 kB / 451.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-05/0.2334, allocations: 183.8 kB / 452 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.2334, allocations: 178.3 kB / 452.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.2335, allocations: 358.9 kB / 452.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.2336, allocations: 106.7 kB / 452.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.2336, allocations: 104.8 kB / 452.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-05/0.2336, allocations: 184.3 kB / 452.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2336, allocations: 177.4 kB / 453.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.738e-05/0.2337, allocations: 190.8 kB / 453.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.879e-05/0.2337, allocations: 178.3 kB / 453.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.44e-05/0.2338, allocations: 304.2 kB / 453.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.2338, allocations: 112.1 kB / 453.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.2338, allocations: 187.8 kB / 454.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.2339, allocations: 104 kB / 454.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2339, allocations: 181.4 kB / 454.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.234, allocations: 106.7 kB / 454.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.548e-05/0.234, allocations: 76.47 kB / 454.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.234, allocations: 2.281 kB / 454.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006122/0.2346, allocations: 136.2 kB / 454.6 MB, free: 12.47 MB / 366.1 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.0008707/0.2354, allocations: 444.5 kB / 455.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.2355, allocations: 7.094 kB / 455.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2355, allocations: 0 / 455.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.2355, allocations: 1.344 kB / 455.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.2358, allocations: 463.9 kB / 455.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001259/0.2359, allocations: 150.5 kB / 455.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.2359, allocations: 57.38 kB / 455.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.713e-06/0.2359, allocations: 1.156 kB / 455.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.2359, allocations: 10.41 kB / 455.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2359, allocations: 0 / 455.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Templates: time 0.009044/0.245, allocations: 3.316 MB / 459.1 MB, free: 11.31 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141264487057924]