Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 87.48 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.22 MB / 337.9 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004381, allocations: 8.219 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.000594/0.1504, allocations: 217.3 kB / 472.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.1536, allocations: 2.079 MB / 474.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-06/0.1537, allocations: 4 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-06/0.1537, allocations: 7.938 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.543e-06/0.1537, allocations: 0 / 474.5 MB, free: 11.41 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:8:5-85: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.0.0+maint.om/Math/Nonlinear.mo:87:5-157: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.0.0+maint.om/Math/Nonlinear.mo:159:5-233: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.0.0+maint.om/Math/Nonlinear.mo:235:5-313: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.002067/0.1558, allocations: 0.5131 MB / 475 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.929e-05/0.1558, allocations: 4 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.758e-05/0.1559, allocations: 0 / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.1559, allocations: 15.98 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.156, allocations: 4 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-06/0.156, allocations: 0 / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1571, allocations: 0.5618 MB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1571, allocations: 3.984 kB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.1572, allocations: 29.7 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.1577, allocations: 283.6 kB / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1578, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1578, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1578, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.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.0004821/0.1583, allocations: 429 kB / 476.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1583, allocations: 12.03 kB / 476.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1584, allocations: 79.22 kB / 476.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1585, allocations: 234.4 kB / 476.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.1586, allocations: 150.6 kB / 476.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.1587, allocations: 154.6 kB / 476.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1588, allocations: 108.9 kB / 477 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.1589, allocations: 75.28 kB / 477.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.159, allocations: 154.6 kB / 477.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.165e-05/0.1591, allocations: 150.6 kB / 477.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.1592, allocations: 154.5 kB / 477.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1595, allocations: 449.9 kB / 478 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.1596, allocations: 169.1 kB / 478.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.1597, allocations: 80.14 kB / 478.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.1597, allocations: 75.28 kB / 478.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.054e-05/0.1598, allocations: 139.4 kB / 478.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.1598, allocations: 4 kB / 478.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.472e-05/0.1599, allocations: 29.7 kB / 478.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.16, allocations: 156.4 kB / 478.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.1601, allocations: 93.84 kB / 478.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1601, allocations: 25.7 kB / 478.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.1601, allocations: 80.14 kB / 478.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1602, allocations: 0 / 478.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.1602, allocations: 0 / 478.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1603, allocations: 318.8 kB / 479.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-06/0.1603, allocations: 0 / 479.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.1603, allocations: 0 / 479.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.1604, allocations: 79.22 kB / 479.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-05/0.1604, allocations: 75.28 kB / 479.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.613e-05/0.1605, allocations: 33.64 kB / 479.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.1606, allocations: 79.28 kB / 479.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.1606, allocations: 79.28 kB / 479.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.129e-05/0.1607, allocations: 166.5 kB / 479.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-05/0.1607, allocations: 79.28 kB / 479.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-05/0.1608, allocations: 150.6 kB / 479.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.1609, allocations: 83.27 kB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.1609, allocations: 79.44 kB / 480 MB, free: 5.605 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1611, allocations: 264.9 kB / 480.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.1612, allocations: 108.9 kB / 480.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1612, allocations: 112.1 kB / 480.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.543e-05/0.1613, allocations: 184.2 kB / 480.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-05/0.1614, allocations: 180.3 kB / 480.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/0.1615, allocations: 176.3 kB / 481 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1618, allocations: 405.2 kB / 481.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.976e-05/0.1619, allocations: 112.9 kB / 481.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.162, allocations: 108.9 kB / 481.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-05/0.162, allocations: 176.3 kB / 481.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/0.1622, allocations: 176.3 kB / 482 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-05/0.1622, allocations: 192.2 kB / 482.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-05/0.1623, allocations: 184.2 kB / 482.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1625, allocations: 303.8 kB / 482.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1626, allocations: 182.1 kB / 482.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1627, allocations: 188.2 kB / 483 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.1629, allocations: 105 kB / 483.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.1629, allocations: 184.2 kB / 483.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.163, allocations: 108.9 kB / 483.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.328e-05/0.163, allocations: 75.28 kB / 483.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.163, allocations: 0 / 483.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000661/0.1637, allocations: 124 kB / 483.6 MB, free: 1.809 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.165, allocations: 414.8 kB / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.165, allocations: 0 / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1651, allocations: 0 / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.1651, allocations: 7.938 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.1656, allocations: 0.5263 MB / 484.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1658, allocations: 171.7 kB / 484.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.1662, allocations: 0.6692 MB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1663, allocations: 11.44 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1663, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.007094/0.1734, allocations: 2.706 MB / 488.1 MB, free: 13.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1