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.002295/0.002295, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00282/0.00282, allocations: 160.8 kB / 24.27 MB, free: 156 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.595/1.595, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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.4103/0.4103, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.024e-06/2.024e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.75e-05, allocations: 4.703 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002402/0.00244, allocations: 497 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005862/0.008302, allocations: 2.222 MB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.011e-05/0.008312, allocations: 4 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-06/0.008318, allocations: 0 / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.974e-06/0.00832, allocations: 0 / 379.9 MB, free: 204 kB / 346.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.003541/0.01186, allocations: 0.6152 MB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.01191, allocations: 11.98 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.01195, allocations: 3.984 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.01216, allocations: 15.94 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.01222, allocations: 4 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.01223, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.01405, allocations: 0.6435 MB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.01405, allocations: 0 / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.01409, allocations: 11.97 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.01544, allocations: 0.5573 MB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01545, allocations: 0 / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01545, allocations: 3.938 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.01546, allocations: 0 / 381.8 MB, free: 14.33 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.0006942/0.01615, allocations: 453.3 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.01621, allocations: 8.031 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.01636, allocations: 124.1 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.01657, allocations: 227.8 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.01675, allocations: 238.8 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.01693, allocations: 246.8 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.01708, allocations: 145.5 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.01719, allocations: 123.1 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.01737, allocations: 242.4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.01754, allocations: 246.3 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01772, allocations: 242.3 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.01832, allocations: 0.5642 MB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.01856, allocations: 261.4 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.01868, allocations: 130.9 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.01877, allocations: 119.2 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.01895, allocations: 190.2 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.472e-06/0.01896, allocations: 4 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001376/0.01909, allocations: 29.64 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.01927, allocations: 200.3 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.0194, allocations: 142.2 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01943, allocations: 25.7 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01953, allocations: 126.9 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.01953, allocations: 0 / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.01959, allocations: 19.38 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003903/0.01998, allocations: 0.4884 MB / 386.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-06/0.01998, allocations: 0 / 386.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.02004, allocations: 33.69 kB / 386.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.02013, allocations: 119.2 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-05/0.02022, allocations: 123.1 kB / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.775e-05/0.02032, allocations: 29.7 kB / 386.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.02042, allocations: 123.2 kB / 386.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.335e-05/0.02051, allocations: 127.2 kB / 386.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.02071, allocations: 246.2 kB / 387.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.0208, allocations: 119.2 kB / 387.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000182/0.02098, allocations: 246.3 kB / 387.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.02115, allocations: 127.2 kB / 387.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.02124, allocations: 119.2 kB / 387.7 MB, free: 8.184 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.0003334/0.02157, allocations: 399 kB / 388.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.02173, allocations: 152.8 kB / 388.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.02186, allocations: 147.9 kB / 388.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002022/0.02206, allocations: 275.9 kB / 388.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000205/0.02227, allocations: 272.1 kB / 388.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000198/0.02246, allocations: 264.1 kB / 389.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.02298, allocations: 495.8 kB / 389.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001133/0.02309, allocations: 149.2 kB / 389.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.02321, allocations: 160.8 kB / 389.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.02341, allocations: 268.1 kB / 390.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.02361, allocations: 272.1 kB / 390.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002186/0.02383, allocations: 268 kB / 390.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002062/0.02404, allocations: 276 kB / 391 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.02444, allocations: 444 kB / 391.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.02457, allocations: 152.8 kB / 391.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.02481, allocations: 272.1 kB / 391.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.025, allocations: 148.9 kB / 392 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.02521, allocations: 276 kB / 392.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.02533, allocations: 148.9 kB / 392.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.02542, allocations: 119.2 kB / 392.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02542, allocations: 4 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001058/0.02648, allocations: 143.6 kB / 392.7 MB, free: 2.992 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.001484/0.02796, allocations: 479.5 kB / 393.1 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.02803, allocations: 3.938 kB / 393.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02803, allocations: 0 / 393.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.02803, allocations: 4 kB / 393.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.02885, allocations: 0.7128 MB / 393.8 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.02916, allocations: 205.6 kB / 394 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.02924, allocations: 55.36 kB / 394.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.915e-06/0.02925, allocations: 0 / 394.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.02927, allocations: 8.5 kB / 394.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02927, allocations: 0 / 394.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of Templates: time 0.01277/0.04205, allocations: 3.359 MB / 397.5 MB, free: 14.13 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","/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.205602599075064]