Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 96.17 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 194.9 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2763/0.2763, allocations: 45.92 MB / 344.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 7.984 kB / 418.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 63.46 MB / 482.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0007995/0.1711, allocations: 213.3 kB / 482.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1735, allocations: 1.546 MB / 483.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.1736, allocations: 0 / 483.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.1736, allocations: 0 / 483.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.458e-06/0.1736, allocations: 0 / 483.9 MB, free: 3.668 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.1746, allocations: 243.5 kB / 484.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.1746, allocations: 4 kB / 484.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.1747, allocations: 4 kB / 484.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.1747, allocations: 0 / 484.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.1747, allocations: 0 / 484.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.1748, allocations: 0 / 484.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.1755, allocations: 451 kB / 484.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1755, allocations: 0 / 484.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1755, allocations: 25.7 kB / 484.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1759, allocations: 219.6 kB / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1759, allocations: 0 / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1759, allocations: 0 / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1759, allocations: 0 / 484.8 MB, free: 2.734 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.0004885/0.1764, allocations: 369.1 kB / 485.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1765, allocations: 8.031 kB / 485.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1765, allocations: 8 kB / 485.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1767, allocations: 171 kB / 485.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1767, allocations: 3.938 kB / 485.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1767, allocations: 3.984 kB / 485.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1768, allocations: 33.7 kB / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1768, allocations: 0 / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1769, allocations: 0 / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1769, allocations: 0 / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.1769, allocations: 0 / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.1771, allocations: 153.7 kB / 485.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.354e-05/0.1772, allocations: 22.5 kB / 485.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.1772, allocations: 8.859 kB / 485.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1772, allocations: 0 / 485.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.1773, allocations: 60.33 kB / 485.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1773, allocations: 0 / 485.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002197/0.1775, allocations: 67.39 kB / 485.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1776, allocations: 77.11 kB / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.1776, allocations: 89.86 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1776, allocations: 29.64 kB / 485.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1777, allocations: 84.27 kB / 486 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1777, allocations: 3.938 kB / 486 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.1777, allocations: 0 / 486 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1779, allocations: 314.8 kB / 486.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.1779, allocations: 0 / 486.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.1779, allocations: 0 / 486.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.178, allocations: 29.7 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.178, allocations: 3.953 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.9e-05/0.1781, allocations: 71.36 kB / 486.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.1781, allocations: 33.7 kB / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1781, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1781, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.1781, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1782, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1782, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1782, allocations: 0 / 486.4 MB, free: 0.8633 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.0001087/0.1783, allocations: 139.5 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.1783, allocations: 7.984 kB / 486.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.1783, allocations: 7.062 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1783, allocations: 4 kB / 486.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1784, allocations: 0 / 486.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1784, allocations: 0 / 486.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.1785, allocations: 149.7 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1785, allocations: 0 / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.1785, allocations: 7.938 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1785, allocations: 3.938 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1785, allocations: 4 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1786, allocations: 0 / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1786, allocations: 4 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1787, allocations: 90.83 kB / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1787, allocations: 77.11 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1788, allocations: 3.953 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.1788, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.1788, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1788, allocations: 8 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.1789, allocations: 83.25 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1789, allocations: 0 / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1792, allocations: 67.92 kB / 487 MB, free: 116 kB / 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.0005093/0.1797, allocations: 189.9 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1798, allocations: 55.41 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1798, allocations: 0 / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.1799, allocations: 59.39 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.18, allocations: 4 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.1802, allocations: 108.6 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1806, allocations: 0.677 MB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.1806, allocations: 11.38 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1806, allocations: 0 / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.00321/0.1838, allocations: 1.256 MB / 489.4 MB, free: 13.67 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.TestMatricesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatricesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatricesCalcHelperMain.o] Error 1