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.001305/0.001305, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001379/0.001379, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.3323/0.3323, allocations: 46.88 MB / 358.1 MB, free: 10.53 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.002252/0.002252, allocations: 75.88 kB / 0.4923 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1394, allocations: 65.98 MB / 0.5568 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001632/0.1411, allocations: 497 kB / 0.5572 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1446, allocations: 2.306 MB / 0.5595 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-06/0.1447, allocations: 0 / 0.5595 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-06/0.1447, allocations: 4 kB / 0.5595 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.1447, allocations: 0 / 0.5595 GB, free: 3.137 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.00216/0.1468, allocations: 0.6379 MB / 0.5601 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.1469, allocations: 11.98 kB / 0.5601 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.857e-05/0.1469, allocations: 0 / 0.5601 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.147, allocations: 15.92 kB / 0.5602 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.147, allocations: 4 kB / 0.5602 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-06/0.1471, allocations: 4 kB / 0.5602 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1482, allocations: 0.6734 MB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-06/0.1482, allocations: 0 / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1482, allocations: 7.984 kB / 0.5608 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.1489, allocations: 439.1 kB / 0.5612 GB, free: 1.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1489, allocations: 7.938 kB / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1489, allocations: 0 / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1489, allocations: 0 / 0.5613 GB, free: 1.352 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.0004932/0.1494, allocations: 432.5 kB / 0.5617 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1494, allocations: 8.031 kB / 0.5617 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.1495, allocations: 76.22 kB / 0.5617 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1496, allocations: 239.6 kB / 0.562 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.1497, allocations: 150.9 kB / 0.5621 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.1498, allocations: 162.6 kB / 0.5623 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.1499, allocations: 113 kB / 0.5624 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.1499, allocations: 75.28 kB / 0.5625 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.15, allocations: 150.6 kB / 0.5626 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.027e-05/0.1501, allocations: 150.6 kB / 0.5627 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.1501, allocations: 158.5 kB / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1505, allocations: 450 kB / 0.5633 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.1506, allocations: 169.1 kB / 0.5635 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.1506, allocations: 84.08 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1506, allocations: 75.28 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.72e-05/0.1507, allocations: 131.5 kB / 0.5638 GB, free: 14.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1507, allocations: 7.938 kB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.161e-05/0.1508, allocations: 37.62 kB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1509, allocations: 152.4 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.151, allocations: 89.86 kB / 0.564 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.151, allocations: 29.7 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.151, allocations: 84.14 kB / 0.5641 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.151, allocations: 0 / 0.5641 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1511, allocations: 13.72 kB / 0.5642 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1512, allocations: 314.8 kB / 0.5645 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.1512, allocations: 0 / 0.5645 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.1512, allocations: 0 / 0.5645 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.1513, allocations: 83.27 kB / 0.5645 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.964e-05/0.1513, allocations: 75.28 kB / 0.5646 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.981e-05/0.1514, allocations: 33.58 kB / 0.5646 GB, free: 13.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.1514, allocations: 85.31 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.1515, allocations: 75.28 kB / 0.5648 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.317e-05/0.1516, allocations: 154.6 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.1516, allocations: 83.22 kB / 0.565 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-05/0.1517, allocations: 158.5 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.1517, allocations: 79.22 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.1518, allocations: 79.27 kB / 0.5653 GB, free: 12.93 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.0001481/0.1519, allocations: 264.4 kB / 0.5656 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.152, allocations: 108.9 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.1521, allocations: 111.9 kB / 0.5658 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.132e-05/0.1521, allocations: 180.3 kB / 0.566 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.879e-05/0.1522, allocations: 184.2 kB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-05/0.1523, allocations: 184.3 kB / 0.5663 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1526, allocations: 401.2 kB / 0.5667 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.1526, allocations: 108.9 kB / 0.5668 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1527, allocations: 109 kB / 0.5669 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.1528, allocations: 180.2 kB / 0.5671 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.1529, allocations: 184.2 kB / 0.5672 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.153, allocations: 184.2 kB / 0.5674 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.06e-05/0.1531, allocations: 176.3 kB / 0.5676 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1533, allocations: 307.8 kB / 0.5679 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1534, allocations: 182 kB / 0.5681 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.1535, allocations: 192.1 kB / 0.5682 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.1536, allocations: 105 kB / 0.5683 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.1537, allocations: 188.2 kB / 0.5685 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.1538, allocations: 104.9 kB / 0.5686 GB, free: 9.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.639e-05/0.1538, allocations: 75.28 kB / 0.5687 GB, free: 9.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1538, allocations: 0 / 0.5687 GB, free: 9.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.1544, allocations: 139.6 kB / 0.5688 GB, free: 9.113 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.001048/0.1555, allocations: 416.2 kB / 0.5692 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.1555, allocations: 4 kB / 0.5692 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1555, allocations: 0 / 0.5692 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1555, allocations: 4 kB / 0.5692 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.156, allocations: 469.8 kB / 0.5697 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.1562, allocations: 182.1 kB / 0.5699 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1565, allocations: 0.669 MB / 0.5705 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.1565, allocations: 7.438 kB / 0.5705 GB, free: 7.32 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1565, allocations: 0 / 0.5705 GB, free: 7.32 MB / 430.1 MB Notification: Performance of Templates: time 0.005585/0.1621, allocations: 2.847 MB / 0.5733 GB, free: 4.469 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.944513215916231]