Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008138, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.0008578/0.0008579, allocations: 186.5 kB / 17.22 MB, free: 5.883 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.593/1.593, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3725/0.3725, allocations: 43.54 MB / 315.2 MB, free: 8.832 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.0005537/0.0005538, allocations: 16 kB / 384.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006006/0.1321, allocations: 224.4 kB / 443.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005902/0.138, allocations: 4.755 MB / 448.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.138, allocations: 4 kB / 448.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.138, allocations: 0 / 448.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.1381, allocations: 0 / 448.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.1389, allocations: 179.6 kB / 448.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.86e-05/0.1389, allocations: 7.984 kB / 448.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.139, allocations: 4 kB / 448.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.139, allocations: 3.938 kB / 448.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.139, allocations: 3.938 kB / 448.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.139, allocations: 0 / 448.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.1396, allocations: 375.2 kB / 448.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-06/0.1396, allocations: 0 / 448.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.1396, allocations: 29.7 kB / 449 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1399, allocations: 199.6 kB / 449.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.14, allocations: 0 / 449.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.14, allocations: 0 / 449.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.14, allocations: 4 kB / 449.2 MB, free: 7.246 MB / 382.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.0003909/0.1404, allocations: 389.1 kB / 449.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1404, allocations: 8.031 kB / 449.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1405, allocations: 3.953 kB / 449.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.1406, allocations: 159.1 kB / 449.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1406, allocations: 0 / 449.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1406, allocations: 4 kB / 449.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.1407, allocations: 29.64 kB / 449.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1407, allocations: 0 / 449.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1407, allocations: 7.984 kB / 449.8 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1407, allocations: 3.953 kB / 449.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.1408, allocations: 4 kB / 449.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1409, allocations: 141.7 kB / 449.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.141, allocations: 22.61 kB / 449.9 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.141, allocations: 4.859 kB / 449.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.141, allocations: 0 / 449.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.141, allocations: 64.2 kB / 450 MB, free: 6.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1411, allocations: 3.938 kB / 450 MB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.1412, allocations: 67.36 kB / 450.1 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1413, allocations: 81.11 kB / 450.1 MB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.979e-05/0.1413, allocations: 97.81 kB / 450.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1414, allocations: 25.7 kB / 450.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.1414, allocations: 80.14 kB / 450.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1414, allocations: 0 / 450.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1414, allocations: 4.125 kB / 450.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1416, allocations: 314.8 kB / 450.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.1416, allocations: 0 / 450.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1416, allocations: 4 kB / 450.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.1416, allocations: 25.7 kB / 450.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1416, allocations: 3.938 kB / 450.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.304e-05/0.1417, allocations: 63.41 kB / 450.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.1417, allocations: 29.7 kB / 450.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1418, allocations: 4.078 kB / 450.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1418, allocations: 7.938 kB / 450.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.1418, allocations: 7.984 kB / 450.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1418, allocations: 4 kB / 450.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1418, allocations: 0 / 450.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1418, allocations: 3.953 kB / 450.8 MB, free: 5.352 MB / 382.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 8.733e-05/0.1419, allocations: 139.5 kB / 450.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.1419, allocations: 0 / 450.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-06/0.1419, allocations: 3.125 kB / 450.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.1419, allocations: 4 kB / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.142, allocations: 0 / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.142, allocations: 0 / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.891e-05/0.1421, allocations: 153.6 kB / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1421, allocations: 0 / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1421, allocations: 0 / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1421, allocations: 0 / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1421, allocations: 3.984 kB / 451.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1421, allocations: 0 / 451.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1421, allocations: 3.938 kB / 451.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.1422, allocations: 102.8 kB / 451.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.1423, allocations: 77.11 kB / 451.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1423, allocations: 7.938 kB / 451.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.1423, allocations: 0 / 451.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1423, allocations: 0 / 451.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1423, allocations: 3.984 kB / 451.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.1424, allocations: 75.28 kB / 451.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1424, allocations: 0 / 451.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1427, allocations: 60.03 kB / 451.4 MB, free: 4.621 MB / 382.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.0004329/0.1431, allocations: 191.1 kB / 451.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.1432, allocations: 67.33 kB / 451.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1432, allocations: 0 / 451.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.1433, allocations: 59.47 kB / 451.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1434, allocations: 11.89 kB / 451.7 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.1436, allocations: 96.47 kB / 451.8 MB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1439, allocations: 0.677 MB / 452.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.1439, allocations: 11.38 kB / 452.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1439, allocations: 0 / 452.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of Templates: time 0.003345/0.1473, allocations: 1.576 MB / 454.1 MB, free: 1.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o] Error 1