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.001155/0.001155, allocations: 91.95 kB / 16.67 MB, free: 6.586 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.001344/0.001344, allocations: 180.7 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2571/0.2571, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 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.0005814/0.0005816, allocations: 17.09 kB / 385.2 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006786/0.1396, allocations: 224.7 kB / 444.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.1434, allocations: 2.147 MB / 446.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1434, allocations: 3.938 kB / 446.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1435, allocations: 3.938 kB / 446.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-06/0.1435, allocations: 0 / 446.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1458, allocations: 0.6483 MB / 447.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.117e-05/0.1458, allocations: 7.938 kB / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1459, allocations: 0 / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.1459, allocations: 0 / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.1459, allocations: 0 / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.146, allocations: 0 / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.1481, allocations: 1.401 MB / 448.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1481, allocations: 0 / 448.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.1481, allocations: 29.7 kB / 448.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1495, allocations: 1.162 MB / 449.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1495, allocations: 0 / 449.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1495, allocations: 0 / 449.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1495, allocations: 0 / 449.7 MB, free: 15.54 MB / 334.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.0008581/0.1504, allocations: 409.3 kB / 450.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1505, allocations: 12.03 kB / 450.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1506, allocations: 4.938 kB / 450.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1507, allocations: 160.4 kB / 450.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1508, allocations: 384 / 450.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1508, allocations: 8.109 kB / 450.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1509, allocations: 29.7 kB / 450.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.151, allocations: 0 / 450.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.151, allocations: 3.938 kB / 450.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.151, allocations: 0 / 450.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.151, allocations: 0 / 450.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1512, allocations: 153.7 kB / 450.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.1513, allocations: 18.56 kB / 450.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.1513, allocations: 12.78 kB / 450.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.1514, allocations: 3.938 kB / 450.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.1514, allocations: 60.33 kB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.1515, allocations: 0 / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002156/0.1517, allocations: 71.34 kB / 450.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.1518, allocations: 81.09 kB / 450.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.1518, allocations: 89.86 kB / 450.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1519, allocations: 25.7 kB / 450.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1519, allocations: 80.14 kB / 450.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.152, allocations: 0 / 450.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.152, allocations: 9.719 kB / 450.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1522, allocations: 318.8 kB / 451.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.1522, allocations: 4.125 kB / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1522, allocations: 0 / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.277e-05/0.1523, allocations: 68.2 kB / 451.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1523, allocations: 0 / 451.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.358e-05/0.1524, allocations: 67.33 kB / 451.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.1524, allocations: 31.89 kB / 451.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1524, allocations: 0 / 451.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1524, allocations: 0 / 451.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1524, allocations: 0 / 451.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1525, allocations: 4.094 kB / 451.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.1525, allocations: 4 kB / 451.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1525, allocations: 0 / 451.4 MB, free: 13.57 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 9.73e-05/0.1526, allocations: 147.5 kB / 451.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.1526, allocations: 7.938 kB / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.119e-05/0.1526, allocations: 3.125 kB / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1526, allocations: 0 / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1526, allocations: 0 / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1526, allocations: 0 / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1528, allocations: 149.7 kB / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1528, allocations: 7.938 kB / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1528, allocations: 0 / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1528, allocations: 0 / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1528, allocations: 0 / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1528, allocations: 3.938 kB / 451.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1528, allocations: 0 / 451.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.619e-05/0.1529, allocations: 94.77 kB / 451.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.153, allocations: 85.08 kB / 451.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.153, allocations: 4 kB / 451.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.153, allocations: 0 / 451.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.153, allocations: 4 kB / 451.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.153, allocations: 0 / 451.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.153, allocations: 75.28 kB / 452 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.153, allocations: 0 / 452 MB, free: 12.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009095/0.154, allocations: 276 kB / 452.2 MB, free: 12.62 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.001271/0.1552, allocations: 403.6 kB / 452.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.609e-05/0.1553, allocations: 71.33 kB / 452.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1554, allocations: 0 / 452.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.1554, allocations: 51.41 kB / 452.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1555, allocations: 7.938 kB / 452.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.1558, allocations: 104.3 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1561, allocations: 0.677 MB / 453.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.1561, allocations: 7.438 kB / 453.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1561, allocations: 0 / 453.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Templates: time 0.01271/0.1688, allocations: 6.748 MB / 460.3 MB, free: 4.48 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