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.00132/0.00132, allocations: 113.9 kB / 19.12 MB, free: 3.922 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.001443/0.001443, allocations: 204.9 kB / 22.07 MB, free: 0.9766 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.58/1.58, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 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.223/0.223, allocations: 46.17 MB / 351.8 MB, free: 14.29 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 0.002264/0.002264, allocations: 76.33 kB / 490.8 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1635, allocations: 62.45 MB / 0.5403 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001547/0.1651, allocations: 493 kB / 0.5408 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1688, allocations: 2.289 MB / 0.543 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-06/0.1689, allocations: 4 kB / 0.543 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1689, allocations: 0 / 0.543 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.253e-06/0.1689, allocations: 3.938 kB / 0.543 GB, free: 1.586 MB / 398.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.002174/0.1711, allocations: 0.6197 MB / 0.5436 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.1711, allocations: 8 kB / 0.5437 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.1712, allocations: 0 / 0.5437 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1713, allocations: 23.91 kB / 0.5437 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.1714, allocations: 11.94 kB / 0.5437 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-06/0.1714, allocations: 0 / 0.5437 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.1725, allocations: 0.6686 MB / 0.5443 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.1726, allocations: 4 kB / 0.5443 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1726, allocations: 7.984 kB / 0.5444 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.1733, allocations: 443.2 kB / 0.5448 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1733, allocations: 0 / 0.5448 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1733, allocations: 0 / 0.5448 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1733, allocations: 4 kB / 0.5448 GB, free: 15.81 MB / 414.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.0005204/0.1738, allocations: 439.2 kB / 0.5452 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1739, allocations: 12.03 kB / 0.5452 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.174, allocations: 76.22 kB / 0.5453 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1742, allocations: 235.7 kB / 0.5455 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.1742, allocations: 150.9 kB / 0.5456 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.1743, allocations: 158.7 kB / 0.5458 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.1744, allocations: 105 kB / 0.5459 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.1745, allocations: 83.27 kB / 0.546 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.1746, allocations: 154.5 kB / 0.5461 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/0.1746, allocations: 150.6 kB / 0.5463 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.1747, allocations: 150.6 kB / 0.5464 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1751, allocations: 450 kB / 0.5468 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1752, allocations: 169.1 kB / 0.547 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.1753, allocations: 84.08 kB / 0.5471 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.1753, allocations: 79.22 kB / 0.5472 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.1755, allocations: 139.5 kB / 0.5473 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.1755, allocations: 0 / 0.5473 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.867e-05/0.1756, allocations: 33.69 kB / 0.5473 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1757, allocations: 152.4 kB / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.1758, allocations: 89.86 kB / 0.5476 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1758, allocations: 25.7 kB / 0.5476 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.1758, allocations: 80.14 kB / 0.5477 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.1759, allocations: 0 / 0.5477 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1759, allocations: 21.66 kB / 0.5477 GB, free: 12.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1761, allocations: 314.8 kB / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.1761, allocations: 0 / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.1762, allocations: 3.938 kB / 0.548 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.1762, allocations: 75.28 kB / 0.5481 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.667e-05/0.1763, allocations: 79.28 kB / 0.5481 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.864e-05/0.1764, allocations: 37.62 kB / 0.5482 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.1764, allocations: 83.31 kB / 0.5482 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/0.1765, allocations: 79.28 kB / 0.5483 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.207e-05/0.1766, allocations: 154.5 kB / 0.5485 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.1766, allocations: 79.22 kB / 0.5485 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.218e-05/0.1767, allocations: 154.5 kB / 0.5487 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.1768, allocations: 79.28 kB / 0.5488 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1768, allocations: 75.28 kB / 0.5488 GB, free: 11.39 MB / 414.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.0001528/0.177, allocations: 272.4 kB / 0.5491 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.1771, allocations: 108.9 kB / 0.5492 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.1771, allocations: 111.9 kB / 0.5493 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-05/0.1772, allocations: 180.2 kB / 0.5495 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-05/0.1773, allocations: 188.3 kB / 0.5497 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-05/0.1774, allocations: 188.2 kB / 0.5498 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1777, allocations: 397.2 kB / 0.5502 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.272e-05/0.1777, allocations: 108.9 kB / 0.5503 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.1778, allocations: 104.9 kB / 0.5504 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-05/0.1779, allocations: 180.2 kB / 0.5506 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.178, allocations: 180.3 kB / 0.5508 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/0.1781, allocations: 188.2 kB / 0.5509 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.381e-05/0.1781, allocations: 176.3 kB / 0.5511 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1783, allocations: 303.8 kB / 0.5514 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1784, allocations: 190 kB / 0.5516 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.1785, allocations: 184.3 kB / 0.5518 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.1786, allocations: 101 kB / 0.5519 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.1787, allocations: 184.2 kB / 0.552 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.1788, allocations: 105 kB / 0.5521 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.1789, allocations: 75.28 kB / 0.5522 GB, free: 7.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1789, allocations: 0 / 0.5522 GB, free: 7.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005935/0.1795, allocations: 139.7 kB / 0.5523 GB, free: 7.582 MB / 414.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.001066/0.1805, allocations: 424.3 kB / 0.5527 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.1806, allocations: 11.94 kB / 0.5528 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1806, allocations: 0 / 0.5528 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1806, allocations: 0 / 0.5528 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.181, allocations: 463.6 kB / 0.5532 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.1812, allocations: 182.1 kB / 0.5534 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1816, allocations: 0.669 MB / 0.554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.1816, allocations: 15.44 kB / 0.554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1816, allocations: 0 / 0.554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of Templates: time 0.005912/0.1875, allocations: 2.862 MB / 0.5568 GB, free: 2.918 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.171335157006979]