Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008224, allocations: 93.47 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.0008688/0.0008688, allocations: 183 kB / 18.52 MB, free: 5.297 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.439/1.439, allocations: 223.2 MB / 242.5 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 44.23 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005815/0.1462, allocations: 209.3 kB / 472.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1475, allocations: 0.7331 MB / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1476, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.1476, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.201e-06/0.1476, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1493, allocations: 498.6 kB / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.169e-05/0.1493, allocations: 0 / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1493, allocations: 0 / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.1494, allocations: 3.984 kB / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.83e-05/0.1494, allocations: 0 / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.1494, allocations: 0 / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.1501, allocations: 355.3 kB / 474 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1502, allocations: 0 / 474 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1502, allocations: 29.7 kB / 474 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1506, allocations: 243.5 kB / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1506, allocations: 0 / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1507, allocations: 3.938 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1507, allocations: 0 / 474.2 MB, free: 11.68 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.0004273/0.1511, allocations: 381.1 kB / 474.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1511, allocations: 8.031 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1512, allocations: 3.938 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1513, allocations: 163.1 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1513, allocations: 4 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1513, allocations: 4 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.1514, allocations: 29.66 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1515, allocations: 4 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1515, allocations: 0 / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1515, allocations: 0 / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.1515, allocations: 3.984 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1517, allocations: 141.7 kB / 474.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.1517, allocations: 30.55 kB / 475 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.1518, allocations: 8.797 kB / 475 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1518, allocations: 0 / 475 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.1518, allocations: 64.28 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1518, allocations: 0 / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003036/0.1522, allocations: 59.39 kB / 475.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1522, allocations: 85.05 kB / 475.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.1523, allocations: 93.98 kB / 475.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1523, allocations: 29.7 kB / 475.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1523, allocations: 80.14 kB / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1524, allocations: 0 / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.1524, allocations: 0 / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1526, allocations: 310.8 kB / 475.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1526, allocations: 4 kB / 475.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.1526, allocations: 3.984 kB / 475.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1527, allocations: 25.7 kB / 475.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1527, allocations: 4.062 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.386e-05/0.1528, allocations: 59.41 kB / 475.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.1529, allocations: 33.7 kB / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1529, allocations: 0 / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1529, allocations: 7.953 kB / 475.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-06/0.1529, allocations: 3.984 kB / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1529, allocations: 0 / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.1529, allocations: 0 / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1529, allocations: 0 / 475.8 MB, free: 9.812 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 0.0001202/0.1531, allocations: 144 kB / 476 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.1531, allocations: 0 / 476 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.1531, allocations: 3.125 kB / 476 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1531, allocations: 7.891 kB / 476 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1531, allocations: 4 kB / 476 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1531, allocations: 0 / 476 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1533, allocations: 149.7 kB / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1533, allocations: 0 / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.1533, allocations: 0 / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1533, allocations: 0 / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1533, allocations: 0 / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1533, allocations: 4 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1533, allocations: 11.89 kB / 476.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1534, allocations: 86.83 kB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1535, allocations: 81.09 kB / 476.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1535, allocations: 4 kB / 476.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.1536, allocations: 0 / 476.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1536, allocations: 4 kB / 476.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1536, allocations: 11.92 kB / 476.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.1536, allocations: 75.28 kB / 476.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1536, allocations: 0 / 476.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.1541, allocations: 79.97 kB / 476.5 MB, free: 9.051 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.0006661/0.1547, allocations: 215.8 kB / 476.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1548, allocations: 59.41 kB / 476.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1549, allocations: 64 / 476.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.1549, allocations: 63.39 kB / 476.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.155, allocations: 2.812 kB / 476.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.1552, allocations: 100.4 kB / 476.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1555, allocations: 0.677 MB / 477.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.1555, allocations: 7.438 kB / 477.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1555, allocations: 0 / 477.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Templates: time 0.004673/0.1602, allocations: 1.713 MB / 479.3 MB, free: 6.133 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile make -j1 -f ModelicaTest_4.0.0_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/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.TestVectorsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestVectorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestVectorsCalcHelperMain.o] Error 1