Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 93.62 kB / 17.63 MB, free: 6.141 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.001339/0.00134, allocations: 182.6 kB / 18.52 MB, free: 5.301 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.571/1.571, allocations: 223.2 MB / 242.5 MB, free: 14.48 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.2646/0.2646, allocations: 44.22 MB / 337.9 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 12.52 kB / 410.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 61.92 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000532/0.1643, allocations: 213.3 kB / 472.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1666, allocations: 1.666 MB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.1667, allocations: 0 / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-06/0.1667, allocations: 0 / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1667, allocations: 3.938 kB / 474.1 MB, free: 11.8 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function ‘ModelicaTest.Math.Polynomials‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1674, allocations: 191.5 kB / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.427e-05/0.1674, allocations: 0 / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.1675, allocations: 0 / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.1675, allocations: 4 kB / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.421e-05/0.1675, allocations: 3.984 kB / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-06/0.1675, allocations: 0 / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.1681, allocations: 371.3 kB / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-06/0.1681, allocations: 0 / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1681, allocations: 25.7 kB / 474.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1684, allocations: 215.6 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1684, allocations: 0 / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1685, allocations: 0 / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1685, allocations: 0 / 474.8 MB, free: 11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003314/0.1688, allocations: 379.5 kB / 475.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1688, allocations: 16.02 kB / 475.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.1689, allocations: 0 / 475.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.169, allocations: 159.1 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.169, allocations: 3.938 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.169, allocations: 3.938 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.849e-05/0.1691, allocations: 37.66 kB / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-06/0.1691, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.1691, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.1691, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-06/0.1691, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.1692, allocations: 153.7 kB / 475.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.744e-05/0.1693, allocations: 14.58 kB / 475.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.1693, allocations: 16.89 kB / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-06/0.1693, allocations: 0 / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.1693, allocations: 64.22 kB / 475.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1694, allocations: 0 / 475.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.1695, allocations: 71.38 kB / 475.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1695, allocations: 77.11 kB / 475.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.1696, allocations: 89.86 kB / 475.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1696, allocations: 25.7 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1697, allocations: 84.27 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.1697, allocations: 4 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-07/0.1697, allocations: 0 / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1698, allocations: 310.8 kB / 476.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.1699, allocations: 7.875 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.1699, allocations: 0 / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.1699, allocations: 33.69 kB / 476.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1699, allocations: 0 / 476.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.724e-05/0.17, allocations: 67.47 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.17, allocations: 29.7 kB / 476.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.17, allocations: 0 / 476.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.17, allocations: 3.953 kB / 476.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-07/0.17, allocations: 0 / 476.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.17, allocations: 0 / 476.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1701, allocations: 7.984 kB / 476.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.1701, allocations: 0 / 476.5 MB, free: 9.113 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.499e-05/0.1702, allocations: 132.1 kB / 476.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.1702, allocations: 8.031 kB / 476.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.1702, allocations: 3.125 kB / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1702, allocations: 7.891 kB / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1702, allocations: 0 / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1702, allocations: 3.984 kB / 476.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1703, allocations: 149.7 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.1703, allocations: 3.938 kB / 476.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1704, allocations: 4 kB / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1704, allocations: 0 / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.1704, allocations: 0 / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1704, allocations: 0 / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1704, allocations: 7.953 kB / 476.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.1705, allocations: 94.73 kB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.1705, allocations: 77.11 kB / 477 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-06/0.1706, allocations: 0 / 477 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-06/0.1706, allocations: 0 / 477 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-06/0.1706, allocations: 4 kB / 477 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1706, allocations: 3.953 kB / 477 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.1706, allocations: 79.31 kB / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.171, allocations: 67.98 kB / 477.1 MB, free: 8.371 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003599/0.1714, allocations: 181.6 kB / 477.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.538e-05/0.1714, allocations: 67.34 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.1714, allocations: 0 / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.1715, allocations: 59.39 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.1716, allocations: 4.281 kB / 477.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001207/0.1717, allocations: 96.41 kB / 477.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1721, allocations: 0.677 MB / 478.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-06/0.1721, allocations: 7.438 kB / 478.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1721, allocations: 128 / 478.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Templates: time 0.003234/0.1753, allocations: 1.502 MB / 479.7 MB, free: 5.695 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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.TestPolynomialsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomialsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o] Error 1