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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001817, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002737/0.002737, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.235/2.235, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4116/0.4116, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002372, allocations: 77.33 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1895, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.003397/0.193, allocations: 0.545 MB / 480.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.1991, allocations: 2.381 MB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.1992, allocations: 0 / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.283e-06/0.1992, allocations: 0 / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.677e-06/0.1993, allocations: 0 / 482.9 MB, free: 2.793 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:8:5-85: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:87:5-157: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:159:5-233: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:235:5-313: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.003597/0.2029, allocations: 0.5184 MB / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.203, allocations: 8 kB / 483.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.203, allocations: 0 / 483.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2032, allocations: 23.91 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.2033, allocations: 8 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.2033, allocations: 0 / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.2052, allocations: 0.616 MB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2052, allocations: 0 / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.2053, allocations: 4 kB / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2063, allocations: 291.6 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2063, allocations: 0 / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.2063, allocations: 8 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2063, allocations: 0 / 484.3 MB, free: 1.328 MB / 350.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.0007074/0.2071, allocations: 421.2 kB / 484.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.2071, allocations: 12.88 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.2072, allocations: 76.22 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2074, allocations: 239.7 kB / 485.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.2075, allocations: 150.9 kB / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.2076, allocations: 158.7 kB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.2077, allocations: 104.9 kB / 485.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.2077, allocations: 75.28 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.2079, allocations: 158.6 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.2079, allocations: 150.6 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.208, allocations: 150.6 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.2085, allocations: 442 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2086, allocations: 177.1 kB / 486.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.2087, allocations: 84.08 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.2088, allocations: 79.27 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.2089, allocations: 135.5 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.2089, allocations: 0 / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001277/0.209, allocations: 29.7 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.2092, allocations: 156.3 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.2092, allocations: 93.8 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2093, allocations: 25.7 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2094, allocations: 80.14 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.2094, allocations: 7.984 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.2094, allocations: 17.72 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2096, allocations: 318.8 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-06/0.2097, allocations: 4 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.2097, allocations: 0 / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.2098, allocations: 75.28 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/0.2098, allocations: 75.28 kB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001029/0.2099, allocations: 33.64 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.21, allocations: 83.36 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.309e-05/0.2101, allocations: 91.19 kB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.2102, allocations: 158.7 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.2102, allocations: 83.23 kB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.94e-05/0.2103, allocations: 158.5 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2105, allocations: 79.28 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.2105, allocations: 83.22 kB / 488.5 MB, free: 12.89 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 0.0001758/0.2107, allocations: 256.4 kB / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2108, allocations: 108.9 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.2109, allocations: 108 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/0.2111, allocations: 184.2 kB / 489.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/0.2112, allocations: 184.3 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/0.2113, allocations: 180.2 kB / 489.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.2117, allocations: 397.2 kB / 489.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.843e-05/0.2118, allocations: 112.9 kB / 490 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.2118, allocations: 105 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.212, allocations: 176.3 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.2121, allocations: 184.2 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001133/0.2122, allocations: 184.3 kB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.175e-05/0.2123, allocations: 184.2 kB / 490.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.2126, allocations: 303.8 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.2127, allocations: 186 kB / 491.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.2128, allocations: 180.2 kB / 491.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.213, allocations: 108.9 kB / 491.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2131, allocations: 180.3 kB / 491.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.2132, allocations: 108.9 kB / 491.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.2132, allocations: 75.28 kB / 491.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2132, allocations: 8 kB / 491.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.2141, allocations: 132 kB / 492.1 MB, free: 9.105 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.001553/0.2157, allocations: 404.5 kB / 492.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.2158, allocations: 4 kB / 492.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.2158, allocations: 4 kB / 492.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-06/0.2158, allocations: 4 kB / 492.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.2164, allocations: 0.5296 MB / 493 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.2167, allocations: 175.6 kB / 493.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2171, allocations: 0.677 MB / 493.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2171, allocations: 7.438 kB / 493.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2171, allocations: 0 / 493.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01005/0.2272, allocations: 2.81 MB / 496.7 MB, free: 4.441 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches