Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 118 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.91 kB / 0.4921 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1481, allocations: 65.99 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00197/0.1501, allocations: 0.491 MB / 0.557 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.154, allocations: 2.299 MB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-06/0.154, allocations: 0 / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.162e-06/0.154, allocations: 0 / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.482e-06/0.154, allocations: 4 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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.00247/0.1564, allocations: 0.6306 MB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.1565, allocations: 7.984 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.904e-05/0.1565, allocations: 4 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1567, allocations: 19.92 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.1567, allocations: 4 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-06/0.1567, allocations: 0 / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1579, allocations: 0.671 MB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1579, allocations: 0 / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.1579, allocations: 7.984 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007985/0.1587, allocations: 447 kB / 0.561 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1587, allocations: 3.938 kB / 0.561 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1587, allocations: 4 kB / 0.561 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1587, allocations: 0 / 0.561 GB, free: 0.7773 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.000547/0.1593, allocations: 432.5 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1593, allocations: 8.031 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.1594, allocations: 76.22 kB / 0.5615 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1596, allocations: 239.7 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.1596, allocations: 150.9 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.1597, allocations: 154.7 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.928e-05/0.1598, allocations: 105 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.1598, allocations: 83.22 kB / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.1599, allocations: 154.6 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.16, allocations: 150.6 kB / 0.5625 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.16, allocations: 158.6 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1604, allocations: 446 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.1605, allocations: 165.1 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1605, allocations: 88.02 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.1605, allocations: 79.27 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.558e-05/0.1606, allocations: 135.5 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1606, allocations: 7.938 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.401e-05/0.1607, allocations: 29.7 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1608, allocations: 152.4 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.1609, allocations: 89.86 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1609, allocations: 25.7 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.161, allocations: 88.08 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.161, allocations: 0 / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.161, allocations: 13.72 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1611, allocations: 318.8 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.1611, allocations: 3.938 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.1612, allocations: 0 / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.1612, allocations: 79.28 kB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/0.1612, allocations: 79.28 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.166e-05/0.1613, allocations: 29.64 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.1613, allocations: 83.28 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.1614, allocations: 79.22 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.043e-05/0.1615, allocations: 158.6 kB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.104e-05/0.1615, allocations: 75.28 kB / 0.5647 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-05/0.1616, allocations: 158.5 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.1616, allocations: 79.28 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.1617, allocations: 79.22 kB / 0.565 GB, free: 12.36 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.0001574/0.1618, allocations: 268.4 kB / 0.5653 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.1619, allocations: 104.9 kB / 0.5654 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.162, allocations: 107.9 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.829e-05/0.1621, allocations: 188.2 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.672e-05/0.1621, allocations: 180.3 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.1622, allocations: 184.2 kB / 0.566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1625, allocations: 401.2 kB / 0.5664 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.677e-05/0.1625, allocations: 108.9 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.1626, allocations: 104.9 kB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-05/0.1627, allocations: 176.3 kB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.1627, allocations: 188.2 kB / 0.567 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.902e-05/0.1628, allocations: 180.3 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-05/0.1629, allocations: 180.2 kB / 0.5673 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1631, allocations: 303.8 kB / 0.5676 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.1632, allocations: 186 kB / 0.5678 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-05/0.1633, allocations: 188.2 kB / 0.5679 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1633, allocations: 105 kB / 0.568 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.1634, allocations: 184.2 kB / 0.5682 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.1635, allocations: 105 kB / 0.5683 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.1635, allocations: 75.28 kB / 0.5684 GB, free: 8.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.5684 GB, free: 8.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.1641, allocations: 143.6 kB / 0.5685 GB, free: 8.551 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.0009451/0.165, allocations: 410.4 kB / 0.5689 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.1651, allocations: 7.938 kB / 0.5689 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1651, allocations: 0 / 0.5689 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-06/0.1651, allocations: 4 kB / 0.5689 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1655, allocations: 467.6 kB / 0.5694 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.1657, allocations: 178.1 kB / 0.5695 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.166, allocations: 0.669 MB / 0.5702 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.166, allocations: 7.438 kB / 0.5702 GB, free: 6.762 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.166, allocations: 0 / 0.5702 GB, free: 6.762 MB / 430.1 MB Notification: Performance of Templates: time 0.00604/0.172, allocations: 2.86 MB / 0.573 GB, free: 3.906 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.90846457699081]