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.0008906/0.0008907, allocations: 92.19 kB / 16.33 MB, free: 5.938 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.001169/0.001169, allocations: 188.9 kB / 17.22 MB, free: 5.859 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.568/1.568, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3235/0.3235, allocations: 43.55 MB / 315.2 MB, free: 8.883 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.0005034/0.0005035, allocations: 16 kB / 384.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1384, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0008696/0.1393, allocations: 228.4 kB / 443.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1413, allocations: 1.53 MB / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.1413, allocations: 0 / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1414, allocations: 0 / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.1414, allocations: 0 / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.1421, allocations: 255.4 kB / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.1421, allocations: 4 kB / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1422, allocations: 0 / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.1422, allocations: 0 / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.1422, allocations: 0 / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-06/0.1423, allocations: 0 / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006147/0.1429, allocations: 443 kB / 445.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-06/0.1429, allocations: 0 / 445.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.1429, allocations: 25.7 kB / 445.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.1432, allocations: 207.7 kB / 446.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1432, allocations: 0 / 446.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1432, allocations: 0 / 446.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1432, allocations: 0 / 446.1 MB, free: 10.37 MB / 382.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.000375/0.1436, allocations: 381 kB / 446.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1437, allocations: 8.031 kB / 446.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.1437, allocations: 3.953 kB / 446.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1439, allocations: 163.1 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1439, allocations: 0 / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1439, allocations: 7.984 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.144, allocations: 29.64 kB / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.144, allocations: 0 / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.144, allocations: 0 / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.144, allocations: 0 / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.144, allocations: 7.953 kB / 446.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1442, allocations: 149.6 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.1442, allocations: 26.59 kB / 446.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.1443, allocations: 8.797 kB / 446.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.1443, allocations: 0 / 446.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.1443, allocations: 60.25 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1443, allocations: 0 / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.1445, allocations: 59.47 kB / 447 MB, free: 9.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1446, allocations: 89.22 kB / 447 MB, free: 9.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.915e-05/0.1446, allocations: 93.86 kB / 447.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1447, allocations: 25.7 kB / 447.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.1447, allocations: 80.14 kB / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1447, allocations: 0 / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.1447, allocations: 0 / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1449, allocations: 314.8 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.1449, allocations: 0 / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.1449, allocations: 7.938 kB / 447.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.1449, allocations: 29.77 kB / 447.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1449, allocations: 0 / 447.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.725e-05/0.145, allocations: 67.39 kB / 447.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.145, allocations: 33.64 kB / 447.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1451, allocations: 0 / 447.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1451, allocations: 4 kB / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1451, allocations: 0 / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1451, allocations: 0 / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1451, allocations: 0 / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1451, allocations: 4.031 kB / 447.7 MB, free: 8.488 MB / 382.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 9.802e-05/0.1452, allocations: 143.8 kB / 447.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.1452, allocations: 3.984 kB / 447.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.1453, allocations: 3.125 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1453, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1453, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1453, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.443e-05/0.1454, allocations: 149.6 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1454, allocations: 0 / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.1454, allocations: 3.938 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1454, allocations: 7.984 kB / 448 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1454, allocations: 0 / 448 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.1454, allocations: 4 kB / 448 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1454, allocations: 0 / 448 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.1455, allocations: 94.8 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1456, allocations: 85.03 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1456, allocations: 4 kB / 448.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.877e-05/0.1456, allocations: 11.95 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1456, allocations: 0 / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1456, allocations: 0 / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.1457, allocations: 75.28 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1457, allocations: 0 / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.146, allocations: 63.98 kB / 448.3 MB, free: 7.742 MB / 382.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.0004472/0.1464, allocations: 183 kB / 448.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.339e-05/0.1465, allocations: 67.28 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1465, allocations: 0 / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.1466, allocations: 63.45 kB / 448.6 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1467, allocations: 3.953 kB / 448.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.1469, allocations: 100.5 kB / 448.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1472, allocations: 0.673 MB / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.1472, allocations: 11.44 kB / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1472, allocations: 0 / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of Templates: time 0.003173/0.1504, allocations: 1.265 MB / 450.7 MB, free: 5.301 MB / 382.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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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