Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 103.3 kB / 16.52 MB, free: 6.672 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.001088/0.001088, allocations: 199.4 kB / 17.44 MB, free: 6.059 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.845/1.845, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.275/0.275, allocations: 43.52 MB / 314.1 MB, free: 0.7539 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.001539/0.001539, allocations: 62.31 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1705, allocations: 57.8 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002388/0.173, allocations: 0.5466 MB / 441 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1756, allocations: 1.609 MB / 442.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1757, allocations: 7.938 kB / 442.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.1757, allocations: 0 / 442.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-06/0.1758, allocations: 0 / 442.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1769, allocations: 239.5 kB / 442.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.177, allocations: 0 / 442.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.1771, allocations: 8 kB / 442.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1771, allocations: 0 / 442.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.1771, allocations: 0 / 442.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.1771, allocations: 0 / 442.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.1779, allocations: 483 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.178, allocations: 0 / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.178, allocations: 11.94 kB / 443.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1784, allocations: 203.7 kB / 443.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1784, allocations: 7.984 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1784, allocations: 0 / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1784, allocations: 0 / 443.6 MB, free: 4.434 MB / 318.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.0004613/0.1789, allocations: 369.3 kB / 443.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.179, allocations: 8.031 kB / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.179, allocations: 0.9375 kB / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.003e-05/0.1791, allocations: 164.3 kB / 444.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1791, allocations: 384 / 444.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1791, allocations: 4.375 kB / 444.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1792, allocations: 38 kB / 444.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1793, allocations: 3.984 kB / 444.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1793, allocations: 0 / 444.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1793, allocations: 4 kB / 444.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.1793, allocations: 0 / 444.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1795, allocations: 146 kB / 444.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.1795, allocations: 26.55 kB / 444.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.1796, allocations: 8.859 kB / 444.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1796, allocations: 7.922 kB / 444.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1796, allocations: 60.2 kB / 444.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1796, allocations: 0 / 444.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002172/0.1798, allocations: 63.47 kB / 444.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1799, allocations: 81.11 kB / 444.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.454e-05/0.18, allocations: 93.8 kB / 444.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.18, allocations: 29.69 kB / 444.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.615e-05/0.18, allocations: 88.2 kB / 444.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.18, allocations: 3.938 kB / 444.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1801, allocations: 13.72 kB / 444.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.1801, allocations: 314.8 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.1802, allocations: 0 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.1802, allocations: 0 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.1802, allocations: 60.27 kB / 445.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1802, allocations: 4.062 kB / 445.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.179e-05/0.1803, allocations: 63.39 kB / 445.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.1804, allocations: 33.64 kB / 445.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1804, allocations: 0 / 445.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1804, allocations: 0 / 445.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.1804, allocations: 4 kB / 445.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.1804, allocations: 3.938 kB / 445.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.1805, allocations: 0 / 445.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1805, allocations: 0 / 445.2 MB, free: 2.5 MB / 318.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 8.165e-05/0.1806, allocations: 151.5 kB / 445.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.1806, allocations: 3.938 kB / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.227e-05/0.1806, allocations: 3.125 kB / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1806, allocations: 0 / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1806, allocations: 0 / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1806, allocations: 0 / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.142e-05/0.1807, allocations: 149.7 kB / 445.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1807, allocations: 0 / 445.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.1807, allocations: 3.984 kB / 445.5 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1807, allocations: 3.938 kB / 445.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1807, allocations: 0 / 445.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1807, allocations: 4 kB / 445.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1807, allocations: 0 / 445.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.972e-05/0.1808, allocations: 90.86 kB / 445.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.1809, allocations: 77.11 kB / 445.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1809, allocations: 7.938 kB / 445.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1809, allocations: 3.938 kB / 445.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1809, allocations: 0 / 445.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1809, allocations: 7.969 kB / 445.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.471e-05/0.181, allocations: 87.22 kB / 445.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.181, allocations: 0 / 445.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1813, allocations: 63.98 kB / 445.9 MB, free: 1.746 MB / 318.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.0004422/0.1818, allocations: 192.5 kB / 446 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1819, allocations: 55.41 kB / 446.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1819, allocations: 4 kB / 446.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.1819, allocations: 59.39 kB / 446.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1821, allocations: 4 kB / 446.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.1823, allocations: 100.5 kB / 446.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.1824, allocations: 0.6731 MB / 446.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.1825, allocations: 15.36 kB / 447 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1825, allocations: 0 / 447 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of Templates: time 0.003411/0.1859, allocations: 1.278 MB / 448.2 MB, free: 15.3 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatricesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesCalcHelperMain.o] Error 1