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.001666/0.001666, allocations: 92.27 kB / 20.96 MB, free: 3.574 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.002575/0.002575, allocations: 156.9 kB / 24.27 MB, free: 276 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.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.625 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.348/0.348, allocations: 34.26 MB / 295.2 MB, free: 0.6602 MB / 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 2.073e-06/2.073e-06, allocations: 3.938 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.658e-05, allocations: 10.25 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001949/0.001985, allocations: 0.4909 MB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.006366, allocations: 2.183 MB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-06/0.006372, allocations: 0 / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.47e-06/0.006378, allocations: 0 / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.684e-06/0.006379, allocations: 0 / 379.9 MB, free: 244 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.002795/0.009175, allocations: 0.6152 MB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.009228, allocations: 8 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.009258, allocations: 0 / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.009433, allocations: 23.97 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.009482, allocations: 4 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.009488, allocations: 4 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.01087, allocations: 0.6396 MB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.01088, allocations: 0 / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.0109, allocations: 4 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.01185, allocations: 0.5612 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01185, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01186, allocations: 4 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01186, allocations: 0 / 381.7 MB, free: 14.37 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.0006122/0.01247, allocations: 347.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01251, allocations: 12.03 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/0.0126, allocations: 76.22 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.01275, allocations: 193 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.01283, allocations: 150.9 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.01291, allocations: 158.9 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.013, allocations: 101.5 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.01305, allocations: 79.22 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.01314, allocations: 154.6 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/0.01322, allocations: 154.6 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.01331, allocations: 154.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.01364, allocations: 397.6 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.01377, allocations: 165.1 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.01383, allocations: 84.14 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.01388, allocations: 75.28 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.01398, allocations: 131.5 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01398, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.822e-05/0.01408, allocations: 41.56 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.01419, allocations: 156.4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.01425, allocations: 93.86 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.01427, allocations: 25.7 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.01432, allocations: 80.14 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.01432, allocations: 4 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.01435, allocations: 13.72 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01452, allocations: 310.8 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.01453, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.01457, allocations: 25.7 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.01464, allocations: 83.27 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/0.01468, allocations: 75.28 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.365e-05/0.01474, allocations: 33.72 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.01481, allocations: 87.28 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.01485, allocations: 75.28 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.01496, allocations: 162.4 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.015, allocations: 79.28 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-05/0.01509, allocations: 150.6 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.01518, allocations: 79.22 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.01522, allocations: 83.27 kB / 385.7 MB, free: 10.15 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.0001717/0.01539, allocations: 260.4 kB / 386 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.01548, allocations: 108.9 kB / 386.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.01556, allocations: 108 kB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/0.01566, allocations: 184.2 kB / 386.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/0.01577, allocations: 188.1 kB / 386.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.542e-05/0.01586, allocations: 176.3 kB / 386.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.01615, allocations: 356.8 kB / 387.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/0.0162, allocations: 101 kB / 387.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.01626, allocations: 109 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.01638, allocations: 180.2 kB / 387.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.01649, allocations: 180.3 kB / 387.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001084/0.01659, allocations: 184.2 kB / 387.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/0.0167, allocations: 180.2 kB / 388 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01691, allocations: 316.1 kB / 388.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.01698, allocations: 105 kB / 388.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.0171, allocations: 184.2 kB / 388.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01721, allocations: 109 kB / 388.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.01733, allocations: 192.1 kB / 388.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.01739, allocations: 101 kB / 389 MB, free: 6.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.01746, allocations: 79.28 kB / 389 MB, free: 6.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01746, allocations: 0 / 389 MB, free: 6.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008468/0.01831, allocations: 139.6 kB / 389.2 MB, free: 6.504 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.001124/0.01943, allocations: 447.9 kB / 389.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.265e-05/0.01949, allocations: 7.938 kB / 389.6 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01949, allocations: 0 / 389.6 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.01949, allocations: 3.938 kB / 389.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.01992, allocations: 463.7 kB / 390.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.02013, allocations: 152.1 kB / 390.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.231e-05/0.02018, allocations: 55.36 kB / 390.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.672e-06/0.02019, allocations: 4 kB / 390.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.02021, allocations: 8.5 kB / 390.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.02021, allocations: 4 kB / 390.3 MB, free: 5.328 MB / 362.7 MB Notification: Performance of Templates: time 0.008451/0.02866, allocations: 3.33 MB / 393.6 MB, free: 2.004 MB / 362.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=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: 4.938286061049439]