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.001193/0.001193, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001899/0.003092, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001163/0.001163, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001834/0.002997, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.019/1.019, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09264/1.111, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.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.2659/0.2659, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03576/0.3016, allocations: 13.23 MB / 292.8 MB, free: 6.398 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 2.044e-06/2.044e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.037e-05, allocations: 2.859 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001822/0.001853, allocations: 0.5449 MB / 294.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.005296, allocations: 2.252 MB / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-06/0.005303, allocations: 0 / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-06/0.005307, allocations: 0 / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.91e-07/0.005308, allocations: 4 kB / 296.9 MB, free: 2.297 MB / 282.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.001987/0.007295, allocations: 0.5605 MB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.007353, allocations: 16 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.007382, allocations: 0 / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.007533, allocations: 19.91 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.007585, allocations: 4 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.007591, allocations: 0 / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.00879, allocations: 0.6942 MB / 298.2 MB, free: 1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.008804, allocations: 0 / 298.2 MB, free: 1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.008827, allocations: 4 kB / 298.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.0096, allocations: 443 kB / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.009615, allocations: 0 / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.009618, allocations: 0 / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.009631, allocations: 0 / 298.6 MB, free: 0.5625 MB / 282.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.0004761/0.01011, allocations: 389.5 kB / 299 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.01016, allocations: 12.92 kB / 299 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.01024, allocations: 84.22 kB / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.01039, allocations: 177.1 kB / 299.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.01046, allocations: 150.9 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.01052, allocations: 158.9 kB / 299.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.01062, allocations: 101.5 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.01066, allocations: 79.22 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.01073, allocations: 158.5 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.01078, allocations: 150.6 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.01083, allocations: 150.6 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.01107, allocations: 361.3 kB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.01117, allocations: 173.2 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.01121, allocations: 84.14 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.01124, allocations: 79.22 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.742e-05/0.01133, allocations: 131.5 kB / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01133, allocations: 0 / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.204e-05/0.01141, allocations: 29.7 kB / 301 MB, free: 14.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.01152, allocations: 233.4 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.238e-05/0.01156, allocations: 93.84 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01158, allocations: 25.7 kB / 301.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.01161, allocations: 84.14 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-07/0.01161, allocations: 4 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.01164, allocations: 17.7 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.01174, allocations: 310.8 kB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.01174, allocations: 0 / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.01178, allocations: 29.64 kB / 301.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.01182, allocations: 79.28 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.01185, allocations: 79.28 kB / 302 MB, free: 13.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.997e-05/0.01191, allocations: 25.7 kB / 302 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.01194, allocations: 83.28 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.01198, allocations: 83.25 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.66e-05/0.01205, allocations: 158.5 kB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.814e-05/0.01207, allocations: 83.22 kB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.355e-05/0.01213, allocations: 158.4 kB / 302.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.01221, allocations: 75.28 kB / 302.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.01223, allocations: 83.44 kB / 302.7 MB, free: 12.27 MB / 298.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.0001378/0.01237, allocations: 268.3 kB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.01244, allocations: 109 kB / 303.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.01249, allocations: 104 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/0.01256, allocations: 184.2 kB / 303.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-05/0.01262, allocations: 176.3 kB / 303.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.831e-05/0.01269, allocations: 188.1 kB / 303.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01288, allocations: 325.5 kB / 304 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.01292, allocations: 101 kB / 304.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.01295, allocations: 108.9 kB / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.01298, allocations: 105 kB / 304.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-05/0.01304, allocations: 188.2 kB / 304.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.0131, allocations: 176.3 kB / 304.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.01316, allocations: 176.3 kB / 304.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.473e-05/0.01323, allocations: 188.2 kB / 305 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.01338, allocations: 307.7 kB / 305.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.01347, allocations: 184.3 kB / 305.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.01355, allocations: 105 kB / 305.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.01362, allocations: 180.2 kB / 305.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.01367, allocations: 105 kB / 305.9 MB, free: 8.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.675e-05/0.01368, allocations: 4.859 kB / 305.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01368, allocations: 0 / 305.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006137/0.0143, allocations: 135.7 kB / 306 MB, free: 8.746 MB / 298.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.001043/0.01534, allocations: 452.5 kB / 306.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.429e-05/0.0154, allocations: 7.938 kB / 306.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.01541, allocations: 0 / 306.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.01541, allocations: 0 / 306.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.01574, allocations: 471.7 kB / 307 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001852/0.01592, allocations: 162.4 kB / 307.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.01596, allocations: 51.36 kB / 307.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.01597, allocations: 0 / 307.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.01604, allocations: 59.36 kB / 307.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01605, allocations: 4 kB / 307.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of Templates: time 0.006961/0.02301, allocations: 3.824 MB / 311.1 MB, free: 3.711 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.010397524572909]