Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 95.33 kB / 16.33 MB, free: 5.949 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.00105/0.001051, allocations: 184.2 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.582/1.582, allocations: 205.4 MB / 223.4 MB, free: 5.191 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.3762/0.3762, allocations: 43.55 MB / 315.2 MB, free: 9.031 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.0005517/0.000552, allocations: 12 kB / 384.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 58.85 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006871/0.1421, allocations: 224.4 kB / 443.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.1452, allocations: 1.9 MB / 445.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.1452, allocations: 0 / 445.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1453, allocations: 0 / 445.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.1453, allocations: 0 / 445.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1474, allocations: 0.5844 MB / 446.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.1474, allocations: 4 kB / 446.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.1475, allocations: 8 kB / 446.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1475, allocations: 7.938 kB / 446.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.071e-05/0.1475, allocations: 0 / 446.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.1475, allocations: 0 / 446.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1488, allocations: 0.6277 MB / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.1488, allocations: 0 / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1488, allocations: 25.7 kB / 446.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.1495, allocations: 399.3 kB / 447.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1495, allocations: 0 / 447.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1495, allocations: 0 / 447.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1495, allocations: 4 kB / 447.2 MB, free: 9.258 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.0005868/0.1501, allocations: 405 kB / 447.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1502, allocations: 8.031 kB / 447.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1502, allocations: 11.89 kB / 447.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1503, allocations: 159.1 kB / 447.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1504, allocations: 4 kB / 447.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1504, allocations: 0 / 447.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.1505, allocations: 29.69 kB / 447.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1505, allocations: 4 kB / 447.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1505, allocations: 7.938 kB / 447.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1505, allocations: 0 / 447.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.1506, allocations: 7.953 kB / 447.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1507, allocations: 141.7 kB / 447.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.279e-05/0.1508, allocations: 22.59 kB / 447.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.1508, allocations: 4.859 kB / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.1508, allocations: 0 / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.1509, allocations: 68.31 kB / 448 MB, free: 8.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1509, allocations: 0 / 448 MB, free: 8.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.1511, allocations: 63.34 kB / 448.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1511, allocations: 81.11 kB / 448.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.1512, allocations: 89.86 kB / 448.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1512, allocations: 25.7 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.1512, allocations: 84.12 kB / 448.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1513, allocations: 128 / 448.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.1513, allocations: 4 kB / 448.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1514, allocations: 318.8 kB / 448.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1514, allocations: 4 kB / 448.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.1514, allocations: 0 / 448.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.1515, allocations: 25.7 kB / 448.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1515, allocations: 0 / 448.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.759e-05/0.1516, allocations: 63.34 kB / 448.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1516, allocations: 33.69 kB / 448.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1516, allocations: 4.094 kB / 448.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1516, allocations: 4 kB / 448.8 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-06/0.1516, allocations: 0 / 448.8 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1517, allocations: 3.938 kB / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.1517, allocations: 0 / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1517, allocations: 0 / 448.8 MB, free: 7.355 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 0.0001094/0.1518, allocations: 147.8 kB / 449 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.1518, allocations: 0 / 449 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.1518, allocations: 3.125 kB / 449 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1518, allocations: 7.984 kB / 449 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1519, allocations: 0 / 449 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1519, allocations: 0 / 449 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.152, allocations: 149.6 kB / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.152, allocations: 3.938 kB / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.152, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.152, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.152, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.152, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.152, allocations: 4 kB / 449.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.1521, allocations: 98.75 kB / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1522, allocations: 81.05 kB / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1522, allocations: 7.984 kB / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.1522, allocations: 0 / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1523, allocations: 4 kB / 449.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1523, allocations: 0 / 449.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.1523, allocations: 79.28 kB / 449.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1523, allocations: 0 / 449.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.1529, allocations: 140 kB / 449.5 MB, free: 6.535 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.0008218/0.1537, allocations: 250.2 kB / 449.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.839e-05/0.1539, allocations: 63.39 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1539, allocations: 0 / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.1539, allocations: 59.34 kB / 449.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.154, allocations: 7.391 kB / 449.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.1543, allocations: 104.6 kB / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1547, allocations: 0.6808 MB / 450.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.1547, allocations: 7.438 kB / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1547, allocations: 0 / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of Templates: time 0.006685/0.1614, allocations: 3.102 MB / 453.8 MB, free: 2.188 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.TestVectorsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestVectorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestVectorsCalcHelperMain.o] Error 1