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.001224/0.001225, allocations: 96.39 kB / 16.67 MB, free: 6.105 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.001226/0.001226, allocations: 179.3 kB / 17.57 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2885/0.2885, allocations: 43.6 MB / 315.6 MB, free: 412 kB / 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.0005399/0.0005398, allocations: 15.62 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1407, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0005274/0.1412, allocations: 216.7 kB / 444.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.1467, allocations: 5.073 MB / 449.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.1467, allocations: 0 / 449.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.1467, allocations: 0 / 449.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.607e-06/0.1467, allocations: 0 / 449.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1475, allocations: 187.5 kB / 449.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.598e-05/0.1476, allocations: 4 kB / 449.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.1477, allocations: 4 kB / 449.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.1477, allocations: 7.922 kB / 449.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.1477, allocations: 0 / 449.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.1477, allocations: 0 / 449.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.1485, allocations: 399.2 kB / 450 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.1485, allocations: 0 / 450 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1486, allocations: 29.69 kB / 450 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1489, allocations: 195.7 kB / 450.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1489, allocations: 0 / 450.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1489, allocations: 0 / 450.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1489, allocations: 8 kB / 450.2 MB, free: 15.03 MB / 334.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.0004423/0.1494, allocations: 389.2 kB / 450.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1494, allocations: 8.031 kB / 450.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.1495, allocations: 8.844 kB / 450.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1496, allocations: 160.7 kB / 450.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1496, allocations: 384 / 450.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.1496, allocations: 384 / 450.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.468e-05/0.1497, allocations: 37.77 kB / 450.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1497, allocations: 4 kB / 450.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1497, allocations: 0 / 450.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1497, allocations: 0 / 450.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.1498, allocations: 3.984 kB / 450.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.1499, allocations: 149.7 kB / 450.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.15, allocations: 14.58 kB / 450.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.15, allocations: 4.859 kB / 451 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.15, allocations: 4.031 kB / 451 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.1501, allocations: 68.2 kB / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1501, allocations: 0 / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.1502, allocations: 67.39 kB / 451.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1503, allocations: 77.11 kB / 451.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.1504, allocations: 89.86 kB / 451.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1504, allocations: 25.7 kB / 451.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1504, allocations: 80.14 kB / 451.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1504, allocations: 8 kB / 451.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.1505, allocations: 17.72 kB / 451.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1506, allocations: 310.8 kB / 451.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1506, allocations: 3.984 kB / 451.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.1506, allocations: 3.938 kB / 451.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.1507, allocations: 64.27 kB / 451.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1507, allocations: 0 / 451.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.951e-05/0.1508, allocations: 59.41 kB / 451.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.1508, allocations: 41.72 kB / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1508, allocations: 0 / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1508, allocations: 0 / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1508, allocations: 4 kB / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1509, allocations: 0 / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.1509, allocations: 3.938 kB / 451.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1509, allocations: 0 / 451.9 MB, free: 13.08 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/0.151, allocations: 143.5 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.151, allocations: 3.938 kB / 452 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.151, allocations: 11.06 kB / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.151, allocations: 0 / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.151, allocations: 0 / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.151, allocations: 3.984 kB / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1512, allocations: 149.7 kB / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1512, allocations: 4 kB / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1512, allocations: 0 / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1512, allocations: 3.938 kB / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1512, allocations: 3.984 kB / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1512, allocations: 0 / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1512, allocations: 0 / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1513, allocations: 94.83 kB / 452.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1514, allocations: 81.05 kB / 452.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1514, allocations: 4 kB / 452.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1514, allocations: 0 / 452.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.1515, allocations: 3.984 kB / 452.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1515, allocations: 0 / 452.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.1515, allocations: 75.28 kB / 452.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.459e-06/0.1515, allocations: 4.031 kB / 452.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.1519, allocations: 71.88 kB / 452.5 MB, free: 12.33 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: 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 (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.0004346/0.1524, allocations: 182.4 kB / 452.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1525, allocations: 67.39 kB / 452.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1525, allocations: 4.062 kB / 452.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1526, allocations: 55.41 kB / 452.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1527, allocations: 0 / 452.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.1529, allocations: 112.3 kB / 452.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1532, allocations: 0.6731 MB / 453.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-06/0.1532, allocations: 7.438 kB / 453.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1532, allocations: 0 / 453.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.003677/0.1569, allocations: 1.588 MB / 455.2 MB, free: 9.566 MB / 334.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++ -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.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