Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008718/0.0008716, allocations: 89.7 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 203.8 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2744/0.2744, allocations: 45.91 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 418.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006404/0.1587, allocations: 213.3 kB / 482.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1612, allocations: 1.714 MB / 484 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.1612, allocations: 0 / 484 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-06/0.1612, allocations: 4 kB / 484 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1612, allocations: 0 / 484 MB, free: 3.465 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007785/0.162, allocations: 179 kB / 484.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.567e-05/0.1621, allocations: 4 kB / 484.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.1621, allocations: 0 / 484.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.1621, allocations: 4 kB / 484.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.15e-05/0.1622, allocations: 3.938 kB / 484.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1622, allocations: 0 / 484.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.1628, allocations: 375.2 kB / 484.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-06/0.1628, allocations: 4 kB / 484.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1628, allocations: 25.7 kB / 484.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.1631, allocations: 203.7 kB / 484.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1632, allocations: 3.938 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1632, allocations: 0 / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1632, allocations: 0 / 484.8 MB, free: 2.676 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.0004173/0.1636, allocations: 385.1 kB / 485.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1637, allocations: 8.031 kB / 485.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1637, allocations: 3.938 kB / 485.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1638, allocations: 167 kB / 485.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1638, allocations: 0 / 485.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1639, allocations: 4 kB / 485.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.164, allocations: 29.64 kB / 485.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.164, allocations: 0 / 485.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.164, allocations: 0 / 485.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.164, allocations: 8 kB / 485.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.164, allocations: 0 / 485.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1642, allocations: 153.6 kB / 485.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.1642, allocations: 18.61 kB / 485.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.1643, allocations: 4.859 kB / 485.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.1643, allocations: 0 / 485.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.1643, allocations: 60.27 kB / 485.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1643, allocations: 3.938 kB / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.1645, allocations: 71.44 kB / 485.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1646, allocations: 85.05 kB / 485.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.1646, allocations: 89.86 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1647, allocations: 25.7 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.1647, allocations: 80.14 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1647, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.1647, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1649, allocations: 315 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.1649, allocations: 4 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.1649, allocations: 0 / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.1649, allocations: 25.7 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1649, allocations: 3.953 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.479e-05/0.165, allocations: 71.33 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.1651, allocations: 29.7 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1651, allocations: 0 / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1651, allocations: 4.094 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1651, allocations: 4 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1651, allocations: 0 / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.1651, allocations: 0 / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1652, allocations: 0 / 486.4 MB, free: 0.7969 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.782e-05/0.1653, allocations: 139.5 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.1653, allocations: 3.953 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.1653, allocations: 3.125 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1653, allocations: 0 / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1653, allocations: 0 / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1653, allocations: 4 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1654, allocations: 153.7 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1654, allocations: 3.938 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-06/0.1655, allocations: 3.953 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1655, allocations: 0 / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1655, allocations: 7.984 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1655, allocations: 0 / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1655, allocations: 4 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1656, allocations: 98.67 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1657, allocations: 77.11 kB / 486.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1657, allocations: 7.953 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.1657, allocations: 0 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.1657, allocations: 3.938 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1657, allocations: 0 / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.1658, allocations: 75.28 kB / 487 MB, free: 120 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1658, allocations: 0 / 487 MB, free: 120 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1661, allocations: 71.98 kB / 487.1 MB, free: 48 kB / 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.0004965/0.1666, allocations: 173.9 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.1667, allocations: 63.34 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1667, allocations: 4 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.1668, allocations: 59.45 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1669, allocations: 4.281 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.1671, allocations: 96.47 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1675, allocations: 0.6731 MB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.1675, allocations: 11.38 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.883e-06/0.1675, allocations: 0 / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003595/0.1711, allocations: 1.502 MB / 489.7 MB, free: 13.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestPolynomialsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o] Error 1