Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 104.9 kB / 16.52 MB, free: 6.266 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.001702/0.001701, allocations: 195.6 kB / 17.44 MB, free: 5.887 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.856/1.856, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2716/0.2716, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.001366/0.001366, allocations: 59.27 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1582, allocations: 57.79 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001727/0.1599, allocations: 0.5599 MB / 441 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1629, allocations: 2.178 MB / 443.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1629, allocations: 0 / 443.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.163, allocations: 4 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.163, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1646, allocations: 0.6494 MB / 443.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.1646, allocations: 3.938 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.1647, allocations: 3.984 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1647, allocations: 0 / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.1647, allocations: 0 / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-06/0.1647, allocations: 0 / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1664, allocations: 1.396 MB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.1664, allocations: 4 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1664, allocations: 0 / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.1674, allocations: 1.162 MB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1674, allocations: 4 kB / 446.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1674, allocations: 3.938 kB / 446.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1674, allocations: 0 / 446.4 MB, free: 1.566 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.0005963/0.168, allocations: 413.6 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1681, allocations: 8.031 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1681, allocations: 0.9375 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1682, allocations: 164.3 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1683, allocations: 384 / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1683, allocations: 12.06 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1684, allocations: 29.69 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1684, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1684, allocations: 7.938 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1684, allocations: 8 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.1685, allocations: 0 / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.1686, allocations: 141.7 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.1686, allocations: 18.61 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.1687, allocations: 12.78 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1687, allocations: 0 / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.1687, allocations: 60.27 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.1687, allocations: 4 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002052/0.169, allocations: 67.39 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.169, allocations: 77.11 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.455e-05/0.1691, allocations: 97.84 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1691, allocations: 25.7 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.1691, allocations: 80.14 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1691, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.1692, allocations: 13.72 kB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1693, allocations: 319 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.1693, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.1694, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.1694, allocations: 64.2 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1694, allocations: 0 / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.569e-05/0.1695, allocations: 71.33 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.1696, allocations: 29.7 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1696, allocations: 0 / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1696, allocations: 4.094 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.1696, allocations: 0 / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1697, allocations: 0 / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.1697, allocations: 4 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1697, allocations: 0 / 448.1 MB, free: 15.6 MB / 334.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 0.0001327/0.1698, allocations: 139.5 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1699, allocations: 7.938 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.1699, allocations: 3.125 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1699, allocations: 3.938 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1699, allocations: 7.938 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1699, allocations: 0 / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1701, allocations: 141.7 kB / 448.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1701, allocations: 11.92 kB / 448.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.1701, allocations: 3.984 kB / 448.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.1701, allocations: 0 / 448.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1701, allocations: 4 kB / 448.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1701, allocations: 3.938 kB / 448.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1701, allocations: 0 / 448.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1703, allocations: 98.83 kB / 448.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1703, allocations: 81.05 kB / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1703, allocations: 0 / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.1704, allocations: 4 kB / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1704, allocations: 0 / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1704, allocations: 0 / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.1704, allocations: 75.28 kB / 448.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1704, allocations: 0 / 448.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009918/0.1714, allocations: 276 kB / 449 MB, free: 14.64 MB / 334.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.001485/0.1729, allocations: 403.8 kB / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.1731, allocations: 71.33 kB / 449.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1731, allocations: 3.938 kB / 449.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.1731, allocations: 51.41 kB / 449.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1733, allocations: 7.938 kB / 449.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.1735, allocations: 104.3 kB / 449.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1739, allocations: 0.6731 MB / 450.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.1739, allocations: 11.56 kB / 450.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1739, allocations: 0 / 450.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of Templates: time 0.01423/0.1881, allocations: 6.749 MB / 457 MB, free: 6.5 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o] Error 1