Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 90.12 kB / 16.67 MB, free: 6.59 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.001296/0.001296, allocations: 179.2 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.05/2.05, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2793/0.2793, allocations: 43.59 MB / 315.6 MB, free: 408 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.000557/0.0005572, allocations: 21.25 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000638/0.1325, allocations: 224.7 kB / 444.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1344, allocations: 1.547 MB / 445.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.1345, allocations: 0 / 445.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1345, allocations: 0 / 445.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.1345, allocations: 3.938 kB / 445.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.1354, allocations: 199.6 kB / 446 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.1355, allocations: 4 kB / 446 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.1355, allocations: 0 / 446 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.1355, allocations: 0 / 446 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.132e-05/0.1356, allocations: 4 kB / 446 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-06/0.1356, allocations: 3.938 kB / 446.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1366, allocations: 0.6947 MB / 446.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.1366, allocations: 4 kB / 446.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1367, allocations: 25.7 kB / 446.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.1372, allocations: 443.3 kB / 447.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1372, allocations: 0 / 447.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1372, allocations: 0 / 447.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1372, allocations: 0 / 447.2 MB, free: 2.008 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.0004797/0.1377, allocations: 373.5 kB / 447.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1378, allocations: 12.03 kB / 447.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1378, allocations: 8.828 kB / 447.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.44e-05/0.1379, allocations: 160.4 kB / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1379, allocations: 384 / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1379, allocations: 384 / 447.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.138, allocations: 34.02 kB / 447.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.138, allocations: 0 / 447.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.138, allocations: 0 / 447.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1381, allocations: 4 kB / 447.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.1381, allocations: 3.938 kB / 447.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.1382, allocations: 157.6 kB / 447.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.573e-05/0.1382, allocations: 18.52 kB / 448 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.1383, allocations: 4.859 kB / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.1383, allocations: 4.094 kB / 448 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1383, allocations: 60.2 kB / 448 MB, free: 1.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1383, allocations: 4 kB / 448 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.1385, allocations: 71.33 kB / 448.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1385, allocations: 77.11 kB / 448.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.725e-05/0.1386, allocations: 89.86 kB / 448.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.1386, allocations: 25.7 kB / 448.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.497e-05/0.1386, allocations: 84.14 kB / 448.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1386, allocations: 0 / 448.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.1387, allocations: 13.72 kB / 448.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.1387, allocations: 319 kB / 448.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.1387, allocations: 0 / 448.7 MB, free: 284 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/0.1387, allocations: 3.984 kB / 448.7 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.1388, allocations: 60.27 kB / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1388, allocations: 0 / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.905e-05/0.1389, allocations: 63.34 kB / 448.8 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.1389, allocations: 35.67 kB / 448.9 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1389, allocations: 0 / 448.9 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1389, allocations: 4.078 kB / 448.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.1389, allocations: 8 kB / 448.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.139, allocations: 3.938 kB / 448.9 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.139, allocations: 0 / 448.9 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.139, allocations: 0 / 448.9 MB, free: 72 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 0.0001314/0.1391, allocations: 143.5 kB / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1391, allocations: 3.938 kB / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.379e-05/0.1392, allocations: 3.125 kB / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1392, allocations: 0 / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1392, allocations: 4 kB / 449 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1392, allocations: 0 / 449 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1393, allocations: 149.7 kB / 449.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1393, allocations: 0 / 449.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.1393, allocations: 0 / 449.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1393, allocations: 3.938 kB / 449.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1394, allocations: 0 / 449.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1394, allocations: 0 / 449.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1394, allocations: 0 / 449.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1395, allocations: 98.77 kB / 449.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1396, allocations: 77.11 kB / 449.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1396, allocations: 3.938 kB / 449.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.1396, allocations: 8 kB / 449.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.1396, allocations: 3.938 kB / 449.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1396, allocations: 3.984 kB / 449.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.1397, allocations: 79.28 kB / 449.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 0 / 449.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.1403, allocations: 116 kB / 449.6 MB, free: 15.28 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.0009594/0.1412, allocations: 185.4 kB / 449.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1414, allocations: 67.33 kB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1414, allocations: 4.062 kB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.1414, allocations: 55.41 kB / 449.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1416, allocations: 0 / 449.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.1418, allocations: 104.4 kB / 450 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1421, allocations: 0.6692 MB / 450.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1421, allocations: 7.438 kB / 450.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1421, allocations: 0 / 450.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Templates: time 0.006438/0.1486, allocations: 2.701 MB / 453.3 MB, free: 11.41 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3CalcHelperMain.o] Error 1