Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 99.66 kB / 16.33 MB, free: 5.941 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.0008624/0.0008625, allocations: 187.1 kB / 17.22 MB, free: 5.883 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.49/1.49, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3957/0.3957, allocations: 43.55 MB / 315.2 MB, free: 9.059 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.0004953/0.0004954, allocations: 15.98 kB / 384.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 443.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0005871/0.1286, allocations: 228.4 kB / 443.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.136, allocations: 4.799 MB / 448.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.1361, allocations: 0 / 448.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.1361, allocations: 4 kB / 448.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-06/0.1361, allocations: 0 / 448.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.1429, allocations: 2.61 MB / 451 MB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.143, allocations: 3.984 kB / 451 MB, free: 5.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.143, allocations: 4 kB / 451 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.1431, allocations: 0 / 451 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.1431, allocations: 0 / 451 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-06/0.1431, allocations: 0 / 451 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2883/0.4314, allocations: 19.82 MB / 470.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.4314, allocations: 0 / 470.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.4315, allocations: 32.48 kB / 470.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03969/0.4712, allocations: 20.29 MB / 491.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4712, allocations: 0 / 491.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.4712, allocations: 1.625 kB / 491.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4713, allocations: 0 / 491.2 MB, free: 36.91 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.02057/0.4918, allocations: 0.6634 MB / 491.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4919, allocations: 10.31 kB / 491.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.4919, allocations: 0 / 491.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.87e-05/0.492, allocations: 161.4 kB / 492 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.492, allocations: 0 / 492 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.492, allocations: 0 / 492 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.215e-05/0.4921, allocations: 36.16 kB / 492.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4922, allocations: 1.422 kB / 492.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4922, allocations: 1.344 kB / 492.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4922, allocations: 3.719 kB / 492.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.4922, allocations: 3.75 kB / 492.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.4923, allocations: 151.1 kB / 492.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.4924, allocations: 17.73 kB / 492.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.4924, allocations: 5.484 kB / 492.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.4924, allocations: 3.672 kB / 492.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4924, allocations: 62.12 kB / 492.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4924, allocations: 0 / 492.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000181/0.4926, allocations: 68.67 kB / 492.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4927, allocations: 80.27 kB / 492.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.469e-05/0.4927, allocations: 91.39 kB / 492.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.4927, allocations: 29.64 kB / 492.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.4928, allocations: 80.14 kB / 492.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4928, allocations: 4.109 kB / 492.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4928, allocations: 7.25 kB / 492.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.4928, allocations: 314 kB / 493 MB, free: 35.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.4929, allocations: 0 / 493 MB, free: 35.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.4929, allocations: 0 / 493 MB, free: 35.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.4929, allocations: 31.2 kB / 493 MB, free: 35.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4929, allocations: 0 / 493 MB, free: 35.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.493, allocations: 61.16 kB / 493.1 MB, free: 35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.493, allocations: 39.25 kB / 493.1 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.493, allocations: 4.094 kB / 493.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.493, allocations: 0 / 493.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.493, allocations: 4.453 kB / 493.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4931, allocations: 3.953 kB / 493.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.4931, allocations: 0 / 493.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4931, allocations: 3.156 kB / 493.1 MB, free: 34.96 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.419e-05/0.4932, allocations: 138.8 kB / 493.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.4932, allocations: 3.25 kB / 493.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.4932, allocations: 3.844 kB / 493.3 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4932, allocations: 4 kB / 493.3 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4932, allocations: 3.984 kB / 493.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4932, allocations: 3.953 kB / 493.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.568e-05/0.4933, allocations: 145.6 kB / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4933, allocations: 0 / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.4933, allocations: 0 / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4933, allocations: 0 / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4933, allocations: 3.312 kB / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4933, allocations: 6.312 kB / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4933, allocations: 0 / 493.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.4934, allocations: 99.31 kB / 493.5 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.4934, allocations: 77.11 kB / 493.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.4935, allocations: 4.469 kB / 493.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.4935, allocations: 3.984 kB / 493.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.4935, allocations: 0 / 493.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.4935, allocations: 0 / 493.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.4935, allocations: 79.22 kB / 493.7 MB, free: 34.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4935, allocations: 7.219 kB / 493.7 MB, free: 34.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.02794/0.5215, allocations: 3.805 MB / 497.5 MB, free: 33.03 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.05623/0.5778, allocations: 0.9935 MB / 498.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.578, allocations: 66.25 kB / 498.5 MB, free: 32.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.578, allocations: 0 / 498.5 MB, free: 32.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.578, allocations: 55.39 kB / 498.6 MB, free: 32.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.5782, allocations: 7.953 kB / 498.6 MB, free: 32.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.5784, allocations: 101.1 kB / 498.7 MB, free: 31.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.5785, allocations: 0.677 MB / 499.4 MB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/0.5785, allocations: 11.44 kB / 499.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5786, allocations: 4.125 kB / 499.4 MB, free: 31.17 MB / 382.1 MB Notification: Performance of Templates: time 0.1076/0.6861, allocations: 65.5 MB / 0.5517 GB, free: 13.62 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_3.2.3_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"." -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.TestMatrices2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.o] Error 1