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.0007475/0.0007475, allocations: 96.14 kB / 16.33 MB, free: 6.41 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.0008086/0.0008086, allocations: 188.3 kB / 17.23 MB, free: 6.293 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.51/1.51, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2201/0.2201, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.0005812/0.0005812, allocations: 14.91 kB / 384.5 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1251, allocations: 58.87 MB / 443.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000574/0.1257, allocations: 220.7 kB / 443.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1273, allocations: 1.496 MB / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.1273, allocations: 0 / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.1274, allocations: 0 / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-06/0.1274, allocations: 4 kB / 445.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.1281, allocations: 199.6 kB / 445.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.154e-05/0.1281, allocations: 0 / 445.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.1282, allocations: 3.984 kB / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.1282, allocations: 0 / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.1282, allocations: 7.984 kB / 445.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.1282, allocations: 0 / 445.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.129, allocations: 0.6675 MB / 446 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-06/0.129, allocations: 0 / 446 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.129, allocations: 25.7 kB / 446 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1293, allocations: 451.3 kB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1294, allocations: 0 / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1294, allocations: 0 / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1294, allocations: 0 / 446.5 MB, free: 2.715 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.0003311/0.1297, allocations: 361.1 kB / 446.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1298, allocations: 15.95 kB / 446.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.1298, allocations: 7.906 kB / 446.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.1299, allocations: 167 kB / 447 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1299, allocations: 0 / 447 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1299, allocations: 3.938 kB / 447 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.13, allocations: 29.7 kB / 447 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.13, allocations: 0 / 447 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.13, allocations: 0 / 447 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.13, allocations: 0 / 447 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.13, allocations: 3.984 kB / 447 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.838e-05/0.1301, allocations: 153.9 kB / 447.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.1302, allocations: 18.58 kB / 447.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.096e-05/0.1302, allocations: 8.797 kB / 447.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.1302, allocations: 0 / 447.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1302, allocations: 60.36 kB / 447.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1303, allocations: 0 / 447.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001529/0.1304, allocations: 67.39 kB / 447.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1304, allocations: 81.23 kB / 447.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.422e-05/0.1305, allocations: 89.86 kB / 447.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.1305, allocations: 25.7 kB / 447.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.189e-05/0.1305, allocations: 84.12 kB / 447.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.1305, allocations: 7.875 kB / 447.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.1305, allocations: 0 / 447.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.1306, allocations: 322.8 kB / 447.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.1306, allocations: 3.938 kB / 447.9 MB, free: 1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.1306, allocations: 3.984 kB / 447.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.1306, allocations: 33.77 kB / 448 MB, free: 0.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1307, allocations: 4 kB / 448 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.574e-05/0.1307, allocations: 55.41 kB / 448 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1307, allocations: 33.7 kB / 448.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1307, allocations: 0 / 448.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1308, allocations: 0 / 448.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.1308, allocations: 3.984 kB / 448.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1308, allocations: 0 / 448.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.1308, allocations: 0 / 448.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1308, allocations: 4.031 kB / 448.1 MB, free: 0.8398 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.1309, allocations: 143.4 kB / 448.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.1309, allocations: 0 / 448.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.1309, allocations: 7.125 kB / 448.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1309, allocations: 0 / 448.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1309, allocations: 4 kB / 448.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1309, allocations: 3.984 kB / 448.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.191e-05/0.131, allocations: 157.6 kB / 448.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.131, allocations: 0 / 448.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.131, allocations: 0 / 448.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.131, allocations: 4 kB / 448.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.131, allocations: 4 kB / 448.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.131, allocations: 0 / 448.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.131, allocations: 0 / 448.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.711e-05/0.1311, allocations: 86.83 kB / 448.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.1311, allocations: 85.06 kB / 448.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1312, allocations: 0 / 448.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.1312, allocations: 4.031 kB / 448.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1312, allocations: 0 / 448.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1312, allocations: 0 / 448.6 MB, free: 248 kB / 318.1 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.1312, allocations: 75.28 kB / 448.6 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1312, allocations: 4 kB / 448.6 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1316, allocations: 124 kB / 448.8 MB, free: 44 kB / 318.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.0006747/0.1322, allocations: 174.8 kB / 448.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.1323, allocations: 59.39 kB / 449 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1324, allocations: 0 / 449 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.1324, allocations: 59.41 kB / 449 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1325, allocations: 3.234 kB / 449.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.1328, allocations: 108.5 kB / 449.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1331, allocations: 0.6692 MB / 449.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.1332, allocations: 7.438 kB / 449.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1332, allocations: 0 / 449.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Templates: time 0.004644/0.1378, allocations: 2.685 MB / 452.5 MB, free: 12.2 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++ 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.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