Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 107.2 kB / 16.52 MB, free: 6.266 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.001167/0.001167, allocations: 197.1 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2628/0.2628, allocations: 43.52 MB / 314.1 MB, free: 0.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.33 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1413, allocations: 57.8 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001679/0.143, allocations: 0.5505 MB / 441 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1457, allocations: 2.318 MB / 443.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-06/0.1457, allocations: 0 / 443.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-06/0.1458, allocations: 0 / 443.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.864e-06/0.1458, allocations: 0 / 443.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1474, allocations: 0.5182 MB / 443.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.1474, allocations: 7.984 kB / 443.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1475, allocations: 0 / 443.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.1476, allocations: 12 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.1476, allocations: 7.984 kB / 443.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1476, allocations: 0 / 443.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.1483, allocations: 0.5968 MB / 444.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1484, allocations: 8 kB / 444.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.1484, allocations: 0 / 444.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1488, allocations: 291.6 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1488, allocations: 0 / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1488, allocations: 7.875 kB / 444.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1488, allocations: 0 / 444.8 MB, free: 3.188 MB / 318.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.0003702/0.1492, allocations: 421.3 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1492, allocations: 8.031 kB / 445.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1493, allocations: 76.22 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.1494, allocations: 239.7 kB / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.1494, allocations: 154.9 kB / 445.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1494, allocations: 154.7 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.707e-05/0.1495, allocations: 109 kB / 445.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1495, allocations: 75.28 kB / 446 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.1496, allocations: 154.5 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.1496, allocations: 154.6 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.1496, allocations: 150.6 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1498, allocations: 446 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.1499, allocations: 165.1 kB / 447 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.1499, allocations: 88.08 kB / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.15, allocations: 79.22 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.15, allocations: 139.5 kB / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.15, allocations: 0 / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.854e-05/0.1501, allocations: 29.69 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1502, allocations: 152.4 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/0.1502, allocations: 97.8 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1502, allocations: 25.7 kB / 447.6 MB, free: 108 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.1503, allocations: 88.12 kB / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.1503, allocations: 0 / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.1503, allocations: 13.72 kB / 447.7 MB, free: 16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1505, allocations: 310.8 kB / 448 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.1505, allocations: 0 / 448 MB, free: 15.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.1505, allocations: 3.938 kB / 448 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.1506, allocations: 83.31 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/0.1506, allocations: 75.28 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.755e-05/0.1507, allocations: 37.62 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.1508, allocations: 83.28 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.1508, allocations: 75.28 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.911e-05/0.1509, allocations: 154.5 kB / 448.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.1509, allocations: 75.28 kB / 448.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.15e-05/0.151, allocations: 162.5 kB / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.1511, allocations: 75.28 kB / 448.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.1512, allocations: 79.27 kB / 448.9 MB, free: 14.79 MB / 334.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.000183/0.1514, allocations: 272.3 kB / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.1514, allocations: 104.9 kB / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.1515, allocations: 112.1 kB / 449.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.602e-05/0.1516, allocations: 184.1 kB / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.031e-05/0.1517, allocations: 184.5 kB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-05/0.1518, allocations: 180.3 kB / 449.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.1521, allocations: 405.2 kB / 450.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.1522, allocations: 104.9 kB / 450.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1522, allocations: 112.9 kB / 450.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.1523, allocations: 180.3 kB / 450.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.1524, allocations: 184.2 kB / 450.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.744e-05/0.1525, allocations: 180.3 kB / 451.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.326e-05/0.1526, allocations: 176.3 kB / 451.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1528, allocations: 307.8 kB / 451.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.153, allocations: 190 kB / 451.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.1531, allocations: 180.3 kB / 451.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.1532, allocations: 101 kB / 452 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1533, allocations: 188.2 kB / 452.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.1533, allocations: 108.9 kB / 452.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.137e-05/0.1534, allocations: 75.28 kB / 452.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1534, allocations: 0 / 452.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.1539, allocations: 136 kB / 452.5 MB, free: 10.97 MB / 334.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.0009383/0.1549, allocations: 416.9 kB / 452.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.155, allocations: 11.94 kB / 452.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.155, allocations: 0 / 452.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.155, allocations: 3.938 kB / 452.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1554, allocations: 0.5255 MB / 453.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.1557, allocations: 183.6 kB / 453.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.156, allocations: 0.6692 MB / 454.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.156, allocations: 7.438 kB / 454.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.156, allocations: 0 / 454.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of Templates: time 0.005188/0.1612, allocations: 2.703 MB / 457 MB, free: 6.41 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1