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.0007742/0.0007742, allocations: 95.88 kB / 16.33 MB, free: 6.402 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.0009128/0.0009128, allocations: 187.6 kB / 17.22 MB, free: 6.305 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.501/1.501, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.2051/0.2051, allocations: 43.57 MB / 315.2 MB, free: 0.5469 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.000528/0.000528, allocations: 15.16 kB / 384.5 MB, free: 57.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 58.86 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006481/0.1245, allocations: 224.7 kB / 443.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.127, allocations: 2.043 MB / 445.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.1271, allocations: 4 kB / 445.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.1271, allocations: 0 / 445.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-06/0.1271, allocations: 0 / 445.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.129, allocations: 0.6311 MB / 446.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.129, allocations: 4 kB / 446.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.1291, allocations: 0 / 446.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.1291, allocations: 0 / 446.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.742e-05/0.1291, allocations: 0 / 446.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1291, allocations: 3.938 kB / 446.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.1309, allocations: 1.35 MB / 447.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.131, allocations: 3.984 kB / 447.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.131, allocations: 25.7 kB / 447.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.1318, allocations: 1.15 MB / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1319, allocations: 0 / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1319, allocations: 0 / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1319, allocations: 0 / 448.8 MB, free: 336 kB / 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.000517/0.1324, allocations: 417 kB / 449.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1325, allocations: 12.03 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1325, allocations: 3.953 kB / 449.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1326, allocations: 163.1 kB / 449.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1326, allocations: 0 / 449.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1326, allocations: 0 / 449.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.011e-05/0.1327, allocations: 33.64 kB / 449.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1327, allocations: 0 / 449.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1328, allocations: 4 kB / 449.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1328, allocations: 3.984 kB / 449.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.1328, allocations: 7.938 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1329, allocations: 153.6 kB / 449.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.133, allocations: 14.58 kB / 449.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.133, allocations: 8.953 kB / 449.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.133, allocations: 0 / 449.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.1331, allocations: 60.27 kB / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1331, allocations: 3.938 kB / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001803/0.1333, allocations: 71.33 kB / 449.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1333, allocations: 77.11 kB / 449.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.725e-05/0.1334, allocations: 89.86 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1334, allocations: 25.7 kB / 450 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.1334, allocations: 80.14 kB / 450 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1335, allocations: 4 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1335, allocations: 128 / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1336, allocations: 318.8 kB / 450.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-06/0.1336, allocations: 0 / 450.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.1336, allocations: 0 / 450.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.1337, allocations: 29.7 kB / 450.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1337, allocations: 0 / 450.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.753e-05/0.1337, allocations: 67.33 kB / 450.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.1338, allocations: 33.7 kB / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1338, allocations: 0 / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1338, allocations: 4.094 kB / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1338, allocations: 0 / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1338, allocations: 0 / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.1338, allocations: 0 / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1339, allocations: 4 kB / 450.5 MB, free: 14.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.134, allocations: 144.6 kB / 450.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.134, allocations: 0 / 450.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.134, allocations: 7.125 kB / 450.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.134, allocations: 0 / 450.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.134, allocations: 4 kB / 450.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.134, allocations: 0 / 450.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1341, allocations: 153.6 kB / 450.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1341, allocations: 4 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1341, allocations: 0 / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1341, allocations: 4 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1342, allocations: 0 / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1342, allocations: 3.938 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1342, allocations: 0 / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.566e-05/0.1343, allocations: 102.7 kB / 450.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1343, allocations: 77.11 kB / 451 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1343, allocations: 3.938 kB / 451 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-06/0.1343, allocations: 0 / 451 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1344, allocations: 0 / 451 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1344, allocations: 4 kB / 451 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.1344, allocations: 75.28 kB / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.1351, allocations: 272 kB / 451.3 MB, free: 13.47 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 (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.001174/0.1363, allocations: 413.5 kB / 451.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.1364, allocations: 63.39 kB / 451.8 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1364, allocations: 0 / 451.8 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.1365, allocations: 59.34 kB / 451.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1366, allocations: 4 kB / 451.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.1368, allocations: 108.2 kB / 452 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1371, allocations: 0.6731 MB / 452.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.1371, allocations: 15.56 kB / 452.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1371, allocations: 0 / 452.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01143/0.1485, allocations: 6.74 MB / 459.4 MB, free: 5.324 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++ 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.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