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.001147/0.001147, allocations: 117.3 kB / 18.44 MB, free: 4.695 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.001236/0.001236, allocations: 210.6 kB / 21.4 MB, free: 1.746 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.564/1.564, allocations: 227.4 MB / 251.6 MB, free: 88 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.2801/0.2801, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002255/0.002255, allocations: 81.09 kB / 490.2 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1524, allocations: 62.45 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001651/0.1541, allocations: 486.2 kB / 0.5401 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.1577, allocations: 2.293 MB / 0.5424 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-06/0.1577, allocations: 0 / 0.5424 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.816e-06/0.1578, allocations: 0 / 0.5424 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.1578, allocations: 0 / 0.5424 GB, free: 1.469 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.002308/0.1601, allocations: 0.6373 MB / 0.543 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.1601, allocations: 7.984 kB / 0.543 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.1602, allocations: 4 kB / 0.543 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1603, allocations: 19.92 kB / 0.543 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.1604, allocations: 4 kB / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.1604, allocations: 0 / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1617, allocations: 0.6697 MB / 0.5437 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1617, allocations: 0 / 0.5437 GB, free: 136 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.1617, allocations: 11.98 kB / 0.5437 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.1625, allocations: 431.2 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1626, allocations: 0 / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1626, allocations: 0 / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1626, allocations: 3.938 kB / 0.5441 GB, free: 15.7 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.0005987/0.1632, allocations: 440.3 kB / 0.5445 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1632, allocations: 8.031 kB / 0.5445 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.1633, allocations: 84.22 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1635, allocations: 239.6 kB / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/0.1636, allocations: 154.9 kB / 0.545 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.1637, allocations: 154.7 kB / 0.5451 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.1638, allocations: 105 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.1638, allocations: 75.28 kB / 0.5453 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.1639, allocations: 154.6 kB / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.647e-05/0.164, allocations: 154.6 kB / 0.5456 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.1641, allocations: 154.5 kB / 0.5457 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.1645, allocations: 449.9 kB / 0.5462 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1646, allocations: 169.1 kB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.1647, allocations: 84.08 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.1647, allocations: 79.28 kB / 0.5465 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.1648, allocations: 135.5 kB / 0.5466 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1648, allocations: 0 / 0.5466 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.731e-05/0.1649, allocations: 25.7 kB / 0.5466 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1651, allocations: 164.4 kB / 0.5468 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.872e-05/0.1651, allocations: 93.8 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1651, allocations: 25.7 kB / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.1652, allocations: 80.14 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.1652, allocations: 0 / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1652, allocations: 17.7 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1654, allocations: 310.8 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/0.1654, allocations: 4 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.1655, allocations: 4 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.1655, allocations: 75.28 kB / 0.5474 GB, free: 12.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.583e-05/0.1655, allocations: 75.28 kB / 0.5475 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.391e-05/0.1656, allocations: 37.58 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.1657, allocations: 79.28 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/0.1657, allocations: 79.27 kB / 0.5476 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-05/0.1658, allocations: 162.5 kB / 0.5478 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.252e-05/0.1658, allocations: 79.31 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-05/0.1659, allocations: 150.6 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.166, allocations: 83.22 kB / 0.5481 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.1661, allocations: 79.28 kB / 0.5482 GB, free: 11.26 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.0001431/0.1662, allocations: 256.4 kB / 0.5484 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.1663, allocations: 124.8 kB / 0.5485 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.1664, allocations: 111.9 kB / 0.5486 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/0.1665, allocations: 176.3 kB / 0.5488 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.1666, allocations: 184.2 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.1666, allocations: 180.3 kB / 0.5492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.167, allocations: 409.2 kB / 0.5495 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.167, allocations: 104.9 kB / 0.5496 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.1671, allocations: 112.9 kB / 0.5498 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.1672, allocations: 176.3 kB / 0.5499 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.1673, allocations: 180.2 kB / 0.5501 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.211e-05/0.1674, allocations: 180.2 kB / 0.5503 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.209e-05/0.1675, allocations: 184.3 kB / 0.5504 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1677, allocations: 303.8 kB / 0.5507 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.1678, allocations: 186 kB / 0.5509 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.1679, allocations: 184.2 kB / 0.5511 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.168, allocations: 105 kB / 0.5512 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1681, allocations: 184.2 kB / 0.5514 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.1682, allocations: 104.9 kB / 0.5515 GB, free: 7.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.527e-05/0.1682, allocations: 75.28 kB / 0.5515 GB, free: 7.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1682, allocations: 0 / 0.5515 GB, free: 7.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000625/0.1688, allocations: 135.7 kB / 0.5517 GB, free: 7.461 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.001046/0.1699, allocations: 427.5 kB / 0.5521 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.17, allocations: 8 kB / 0.5521 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.17, allocations: 0 / 0.5521 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.17, allocations: 3.938 kB / 0.5521 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1704, allocations: 463.6 kB / 0.5525 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.1706, allocations: 156.4 kB / 0.5527 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1709, allocations: 0.669 MB / 0.5533 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.482e-06/0.1709, allocations: 0 / 0.5533 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.1709, allocations: 7.438 kB / 0.5533 GB, free: 5.691 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1709, allocations: 4 kB / 0.5533 GB, free: 5.688 MB / 414.1 MB Notification: Performance of Templates: time 0.008079/0.179, allocations: 3.27 MB / 0.5565 GB, free: 2.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.263566558249295]