Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008034, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009199/0.00092, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 8 kB / 418.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 63.47 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007573/0.1489, allocations: 213.3 kB / 482.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1506, allocations: 0.7144 MB / 483 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.1507, allocations: 4 kB / 483 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1507, allocations: 0 / 483 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.1507, allocations: 0 / 483 MB, free: 4.465 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.1523, allocations: 0.5571 MB / 483.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.1524, allocations: 4 kB / 483.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.1524, allocations: 0 / 483.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.1525, allocations: 3.984 kB / 483.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.917e-05/0.1525, allocations: 0 / 483.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-06/0.1525, allocations: 0 / 483.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.1531, allocations: 359.3 kB / 484 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.1532, allocations: 0 / 484 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.1532, allocations: 29.7 kB / 484 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1536, allocations: 247.5 kB / 484.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1536, allocations: 8 kB / 484.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1536, allocations: 0 / 484.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1536, allocations: 0 / 484.2 MB, free: 3.262 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.0004408/0.1541, allocations: 385.1 kB / 484.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1541, allocations: 12.03 kB / 484.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1542, allocations: 0 / 484.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1543, allocations: 167 kB / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1543, allocations: 0 / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.1543, allocations: 0 / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.206e-05/0.1544, allocations: 33.7 kB / 484.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1544, allocations: 3.938 kB / 484.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1545, allocations: 0 / 484.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1545, allocations: 0 / 484.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.1545, allocations: 3.938 kB / 484.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1547, allocations: 153.6 kB / 485 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.1547, allocations: 18.58 kB / 485 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.1547, allocations: 4.859 kB / 485 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.1548, allocations: 8.094 kB / 485 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.1548, allocations: 56.27 kB / 485.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1548, allocations: 0 / 485.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001875/0.155, allocations: 67.33 kB / 485.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1551, allocations: 81.11 kB / 485.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.1552, allocations: 89.86 kB / 485.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1552, allocations: 25.7 kB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1552, allocations: 84.27 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1552, allocations: 0 / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1553, allocations: 4 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1554, allocations: 310.8 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.1554, allocations: 0 / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.1554, allocations: 0 / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.1555, allocations: 29.7 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1555, allocations: 3.953 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.707e-05/0.1556, allocations: 67.42 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.1557, allocations: 37.7 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1557, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1557, allocations: 3.938 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.1557, allocations: 0 / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1557, allocations: 3.984 kB / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.1557, allocations: 0 / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1557, allocations: 0 / 485.9 MB, free: 1.383 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.000117/0.1559, allocations: 139.5 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.1559, allocations: 3.953 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.1559, allocations: 7.125 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1559, allocations: 4 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1559, allocations: 0 / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.156, allocations: 0 / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1561, allocations: 141.7 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1561, allocations: 3.984 kB / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-06/0.1561, allocations: 7.953 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1561, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1561, allocations: 4 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1562, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1562, allocations: 7.938 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1563, allocations: 98.75 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.1564, allocations: 81.11 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1564, allocations: 3.953 kB / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.1564, allocations: 0 / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.1564, allocations: 3.984 kB / 486.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.1564, allocations: 4 kB / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.1565, allocations: 79.31 kB / 486.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1565, allocations: 0 / 486.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.1569, allocations: 75.98 kB / 486.5 MB, free: 0.625 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.0006463/0.1575, allocations: 217.9 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1576, allocations: 63.41 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1577, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.1577, allocations: 63.39 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1578, allocations: 4.062 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.1581, allocations: 104.4 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1585, allocations: 0.6692 MB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.1585, allocations: 7.438 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1585, allocations: 0 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.003886/0.1624, allocations: 1.776 MB / 489.4 MB, free: 13.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile make -j1 -f ModelicaTest_trunk_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 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.TestVectorsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestVectorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestVectorsCalcHelperMain.o] Error 1