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.000821/0.0008215, allocations: 92.81 kB / 16.67 MB, free: 6.246 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.0009465/0.0009467, allocations: 172.6 kB / 17.57 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 2.041/2.041, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2763/0.2763, allocations: 43.59 MB / 315.6 MB, free: 424 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.0005352/0.0005352, allocations: 17.22 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006079/0.1423, allocations: 228.6 kB / 444.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1446, allocations: 1.578 MB / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.1447, allocations: 0 / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.1447, allocations: 0 / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-06/0.1447, allocations: 0 / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.1456, allocations: 247.5 kB / 446.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.695e-05/0.1457, allocations: 4 kB / 446.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1458, allocations: 0 / 446.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.1458, allocations: 3.938 kB / 446.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.1458, allocations: 0 / 446.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.1458, allocations: 0 / 446.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1469, allocations: 491 kB / 446.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1469, allocations: 0 / 446.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.147, allocations: 29.7 kB / 446.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.1475, allocations: 207.6 kB / 446.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1475, allocations: 3.984 kB / 446.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1475, allocations: 0 / 446.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1475, allocations: 0 / 446.9 MB, free: 2.391 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.0004031/0.1479, allocations: 373.2 kB / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.148, allocations: 12.03 kB / 447.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.148, allocations: 0.9375 kB / 447.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.896e-05/0.1481, allocations: 164.4 kB / 447.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1481, allocations: 384 / 447.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1481, allocations: 384 / 447.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.1482, allocations: 41.94 kB / 447.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1483, allocations: 0 / 447.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1483, allocations: 0 / 447.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1483, allocations: 0 / 447.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.1483, allocations: 4 kB / 447.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.1484, allocations: 149.7 kB / 447.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.089e-05/0.1485, allocations: 18.58 kB / 447.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.1485, allocations: 8.953 kB / 447.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.1485, allocations: 0 / 447.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.1486, allocations: 68.12 kB / 447.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1486, allocations: 0 / 447.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.1488, allocations: 63.41 kB / 447.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1488, allocations: 81.23 kB / 447.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.79e-05/0.1489, allocations: 89.86 kB / 447.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1489, allocations: 29.7 kB / 447.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.1489, allocations: 88.08 kB / 448 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1489, allocations: 0 / 448 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.149, allocations: 13.7 kB / 448 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.149, allocations: 314.8 kB / 448.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.149, allocations: 0 / 448.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.149, allocations: 4 kB / 448.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.1491, allocations: 64.27 kB / 448.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1491, allocations: 4 kB / 448.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.976e-05/0.1492, allocations: 59.39 kB / 448.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.1492, allocations: 37.64 kB / 448.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1492, allocations: 0 / 448.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1492, allocations: 3.938 kB / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.1492, allocations: 0 / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1493, allocations: 0 / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.1493, allocations: 0 / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1493, allocations: 4.031 kB / 448.5 MB, free: 468 kB / 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 6.462e-05/0.1494, allocations: 143.5 kB / 448.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.1494, allocations: 3.938 kB / 448.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.1494, allocations: 7.109 kB / 448.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1494, allocations: 0 / 448.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1494, allocations: 4 kB / 448.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1494, allocations: 0 / 448.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.247e-05/0.1495, allocations: 145.6 kB / 448.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1495, allocations: 0 / 448.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.1495, allocations: 7.984 kB / 448.8 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1495, allocations: 3.938 kB / 448.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1495, allocations: 4 kB / 448.8 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1495, allocations: 3.984 kB / 448.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1495, allocations: 4 kB / 448.8 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1497, allocations: 86.89 kB / 448.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.1497, allocations: 77.11 kB / 449 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1498, allocations: 11.91 kB / 449 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.1498, allocations: 0 / 449 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1498, allocations: 0 / 449 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1498, allocations: 4 kB / 449 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.1499, allocations: 75.28 kB / 449.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1499, allocations: 3.938 kB / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1502, allocations: 63.98 kB / 449.2 MB, free: 15.71 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.0005319/0.1508, allocations: 184.7 kB / 449.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.1509, allocations: 63.34 kB / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1509, allocations: 64 / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1509, allocations: 63.34 kB / 449.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1511, allocations: 9.859 kB / 449.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.1513, allocations: 96.38 kB / 449.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1516, allocations: 0.6731 MB / 450.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.1517, allocations: 7.438 kB / 450.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1517, allocations: 0 / 450.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Templates: time 0.003846/0.1555, allocations: 1.274 MB / 451.5 MB, free: 13.27 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