Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001294, allocations: 93.12 kB / 17.63 MB, free: 6.156 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.001285/0.001285, allocations: 182.4 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 44.22 MB / 337.9 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12.72 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0007967/0.1635, allocations: 213.3 kB / 472.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1745, allocations: 4.569 MB / 477 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.1745, allocations: 0 / 477 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1746, allocations: 7.938 kB / 477 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.1746, allocations: 4 kB / 477 MB, free: 8.945 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.1846, allocations: 2.566 MB / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.1847, allocations: 0 / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.1847, allocations: 0 / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.1848, allocations: 3.938 kB / 479.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.588e-05/0.1848, allocations: 3.984 kB / 479.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1848, allocations: 4 kB / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04046/0.2253, allocations: 19.81 MB / 499.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2254, allocations: 0 / 499.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.2254, allocations: 25.7 kB / 499.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3306/0.556, allocations: 20.16 MB / 0.5074 GB, free: 18.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.5561, allocations: 0.5625 kB / 0.5074 GB, free: 18.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.5561, allocations: 0 / 0.5074 GB, free: 18.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.5561, allocations: 1.031 kB / 0.5074 GB, free: 18.09 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.01097/0.5671, allocations: 0.6538 MB / 0.508 GB, free: 17.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5672, allocations: 10.42 kB / 0.508 GB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.5672, allocations: 0.9688 kB / 0.508 GB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.5673, allocations: 165.5 kB / 0.5082 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5673, allocations: 1.5 kB / 0.5082 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5673, allocations: 1.641 kB / 0.5082 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.5674, allocations: 30.23 kB / 0.5082 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5675, allocations: 0 / 0.5082 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5675, allocations: 6.906 kB / 0.5082 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5675, allocations: 0 / 0.5082 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.5675, allocations: 2.422 kB / 0.5082 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.5677, allocations: 146.7 kB / 0.5084 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.5677, allocations: 28.55 kB / 0.5084 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.5677, allocations: 8.312 kB / 0.5084 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.5678, allocations: 1.906 kB / 0.5084 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.5678, allocations: 58.77 kB / 0.5084 GB, free: 17.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5678, allocations: 0 / 0.5084 GB, free: 17.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.568, allocations: 67.88 kB / 0.5085 GB, free: 17.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.568, allocations: 79.48 kB / 0.5086 GB, free: 16.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.5681, allocations: 90.55 kB / 0.5087 GB, free: 16.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.5681, allocations: 27.14 kB / 0.5087 GB, free: 16.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.5681, allocations: 82.83 kB / 0.5088 GB, free: 16.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.5681, allocations: 1.719 kB / 0.5088 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.5681, allocations: 1.438 kB / 0.5088 GB, free: 16.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.5682, allocations: 312.7 kB / 0.5091 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.5682, allocations: 3.688 kB / 0.5091 GB, free: 16.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.5682, allocations: 1.312 kB / 0.5091 GB, free: 16.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.143e-05/0.5682, allocations: 28.28 kB / 0.5091 GB, free: 16.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5682, allocations: 0 / 0.5091 GB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.495e-05/0.5683, allocations: 69.48 kB / 0.5092 GB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5683, allocations: 34.47 kB / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5683, allocations: 1.312 kB / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5684, allocations: 0.5156 kB / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.5684, allocations: 0 / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5684, allocations: 3.859 kB / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.5684, allocations: 0.5 kB / 0.5092 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5684, allocations: 1.406 kB / 0.5092 GB, free: 16.27 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 6.767e-05/0.5685, allocations: 137.8 kB / 0.5094 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.5685, allocations: 5.75 kB / 0.5094 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.5685, allocations: 5.094 kB / 0.5094 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5685, allocations: 1.188 kB / 0.5094 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5685, allocations: 1.906 kB / 0.5094 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5685, allocations: 0 / 0.5094 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.5686, allocations: 147.8 kB / 0.5095 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5686, allocations: 0 / 0.5095 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5686, allocations: 0.6562 kB / 0.5095 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5686, allocations: 6.281 kB / 0.5095 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.5687, allocations: 9.234 kB / 0.5095 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5687, allocations: 3.094 kB / 0.5095 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5687, allocations: 0.875 kB / 0.5095 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.5688, allocations: 88.03 kB / 0.5096 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.5688, allocations: 87.31 kB / 0.5097 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.5688, allocations: 1.562 kB / 0.5097 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.5688, allocations: 3.953 kB / 0.5097 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.5688, allocations: 5.484 kB / 0.5097 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5689, allocations: 1.688 kB / 0.5097 GB, free: 15.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.905e-05/0.5689, allocations: 75.89 kB / 0.5098 GB, free: 15.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5689, allocations: 0 / 0.5098 GB, free: 15.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.01361/0.5825, allocations: 3.771 MB / 0.5135 GB, free: 15.55 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.02386/0.6064, allocations: 0.9686 MB / 0.5144 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.6066, allocations: 59.27 kB / 0.5145 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6066, allocations: 4.062 kB / 0.5145 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.6066, allocations: 60.34 kB / 0.5145 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.6068, allocations: 2.656 kB / 0.5145 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.607, allocations: 104.5 kB / 0.5146 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.6071, allocations: 0.6718 MB / 0.5153 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.6071, allocations: 10.59 kB / 0.5153 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6071, allocations: 1.406 kB / 0.5153 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Templates: time 0.1079/0.715, allocations: 64.93 MB / 0.5787 GB, free: 11.36 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2CalcHelperMain.o] Error 1