Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001667/0.001667, allocations: 113.8 kB / 19.17 MB, free: 3.902 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.001362/0.001362, allocations: 209 kB / 22.13 MB, free: 0.9531 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.464/1.464, allocations: 230.3 MB / 255.2 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.92 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 87.86 kB / 0.4925 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 65.99 MB / 0.5569 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002031/0.1383, allocations: 0.4931 MB / 0.5574 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1429, allocations: 2.302 MB / 0.5597 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-06/0.143, allocations: 0 / 0.5597 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.143, allocations: 0 / 0.5597 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.392e-06/0.143, allocations: 4 kB / 0.5597 GB, free: 2.707 MB / 414.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.003353/0.1463, allocations: 0.6344 MB / 0.5603 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.1464, allocations: 11.98 kB / 0.5603 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.1464, allocations: 0 / 0.5603 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1466, allocations: 15.92 kB / 0.5603 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1466, allocations: 11.98 kB / 0.5603 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-06/0.1467, allocations: 0 / 0.5603 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.1484, allocations: 0.6695 MB / 0.561 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1484, allocations: 3.984 kB / 0.561 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1484, allocations: 8 kB / 0.561 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1496, allocations: 447 kB / 0.5614 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1496, allocations: 0 / 0.5614 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1496, allocations: 0 / 0.5614 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1496, allocations: 0 / 0.5614 GB, free: 0.9219 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.0006303/0.1502, allocations: 432.4 kB / 0.5618 GB, free: 456 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1503, allocations: 11.97 kB / 0.5618 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.1504, allocations: 80.22 kB / 0.5619 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1505, allocations: 239.7 kB / 0.5621 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.1506, allocations: 150.9 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.1507, allocations: 154.7 kB / 0.5624 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.1508, allocations: 105 kB / 0.5625 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.1508, allocations: 75.28 kB / 0.5626 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.1509, allocations: 158.6 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.179e-05/0.151, allocations: 150.6 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.1511, allocations: 162.5 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1515, allocations: 442 kB / 0.5635 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1517, allocations: 169.1 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.1517, allocations: 84.08 kB / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.1518, allocations: 79.22 kB / 0.5638 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.519e-05/0.1519, allocations: 139.5 kB / 0.5639 GB, free: 14.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.1519, allocations: 0 / 0.5639 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001181/0.152, allocations: 33.62 kB / 0.564 GB, free: 14.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1521, allocations: 156.4 kB / 0.5641 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.1522, allocations: 89.86 kB / 0.5642 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1522, allocations: 29.7 kB / 0.5642 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.1522, allocations: 80.14 kB / 0.5643 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.1522, allocations: 0 / 0.5643 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1523, allocations: 13.72 kB / 0.5643 GB, free: 13.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1525, allocations: 310.8 kB / 0.5646 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-06/0.1525, allocations: 0 / 0.5646 GB, free: 13.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.1525, allocations: 8 kB / 0.5646 GB, free: 13.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.1525, allocations: 79.27 kB / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-05/0.1526, allocations: 75.28 kB / 0.5648 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.954e-05/0.1527, allocations: 41.58 kB / 0.5648 GB, free: 13.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.1527, allocations: 79.28 kB / 0.5649 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.1528, allocations: 75.28 kB / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.153, allocations: 154.5 kB / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.153, allocations: 87.31 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.101e-05/0.1531, allocations: 150.6 kB / 0.5653 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1532, allocations: 79.22 kB / 0.5654 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1532, allocations: 79.27 kB / 0.5655 GB, free: 12.5 MB / 430.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.0001797/0.1534, allocations: 264.4 kB / 0.5657 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1536, allocations: 112.9 kB / 0.5658 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.1536, allocations: 111.9 kB / 0.5659 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001373/0.1538, allocations: 180.2 kB / 0.5661 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.944e-05/0.1539, allocations: 188.2 kB / 0.5663 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.554e-05/0.154, allocations: 188.2 kB / 0.5665 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1543, allocations: 401.2 kB / 0.5669 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/0.1543, allocations: 108.9 kB / 0.567 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.1544, allocations: 105 kB / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.667e-05/0.1545, allocations: 184.2 kB / 0.5672 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.1546, allocations: 176.3 kB / 0.5674 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.072e-05/0.1547, allocations: 184.2 kB / 0.5676 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.603e-05/0.1548, allocations: 176.3 kB / 0.5678 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1549, allocations: 311.7 kB / 0.568 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1551, allocations: 190 kB / 0.5682 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1552, allocations: 180.2 kB / 0.5684 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1553, allocations: 109 kB / 0.5685 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.1554, allocations: 184.2 kB / 0.5687 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.1554, allocations: 101 kB / 0.5688 GB, free: 8.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.1555, allocations: 75.28 kB / 0.5689 GB, free: 8.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 0.5689 GB, free: 8.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008703/0.1563, allocations: 143.6 kB / 0.569 GB, free: 8.684 MB / 430.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.001331/0.1577, allocations: 401.2 kB / 0.5694 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.1577, allocations: 8 kB / 0.5694 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1577, allocations: 0 / 0.5694 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-06/0.1577, allocations: 3.938 kB / 0.5694 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.1584, allocations: 471.7 kB / 0.5698 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.1586, allocations: 182 kB / 0.57 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1589, allocations: 0.669 MB / 0.5707 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.159, allocations: 7.438 kB / 0.5707 GB, free: 6.895 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.159, allocations: 7.938 kB / 0.5707 GB, free: 6.887 MB / 430.1 MB Notification: Performance of Templates: time 0.008619/0.1676, allocations: 2.843 MB / 0.5734 GB, free: 4.043 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.695632041999488]