Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000986/0.0009857, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3831/0.3831, allocations: 45.9 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 63.46 MB / 482.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0007113/0.163, allocations: 209.3 kB / 482.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1661, allocations: 2.054 MB / 484.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1661, allocations: 0 / 484.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1661, allocations: 0 / 484.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.776e-06/0.1662, allocations: 0 / 484.4 MB, free: 3.176 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.168, allocations: 0.6414 MB / 485 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.1681, allocations: 4 kB / 485 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.1682, allocations: 0 / 485 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1682, allocations: 0 / 485 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.047e-05/0.1682, allocations: 3.984 kB / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.1682, allocations: 0 / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.1704, allocations: 1.35 MB / 486.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1704, allocations: 0 / 486.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1705, allocations: 25.7 kB / 486.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1717, allocations: 1.154 MB / 487.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1717, allocations: 0 / 487.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1717, allocations: 0 / 487.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1717, allocations: 4 kB / 487.5 MB, free: 15.98 MB / 366.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.0006306/0.1723, allocations: 413 kB / 488 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.1724, allocations: 8.031 kB / 488 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1725, allocations: 4 kB / 488 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1726, allocations: 167 kB / 488.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1726, allocations: 4 kB / 488.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1726, allocations: 0 / 488.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.1727, allocations: 33.69 kB / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1727, allocations: 0 / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1728, allocations: 4 kB / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1728, allocations: 0 / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.1728, allocations: 0 / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.173, allocations: 153.6 kB / 488.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.173, allocations: 30.48 kB / 488.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.1731, allocations: 4.859 kB / 488.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1731, allocations: 3.938 kB / 488.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.1731, allocations: 60.36 kB / 488.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1731, allocations: 0 / 488.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001931/0.1733, allocations: 63.41 kB / 488.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.1734, allocations: 85.03 kB / 488.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.1735, allocations: 93.98 kB / 488.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1735, allocations: 25.7 kB / 488.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.1735, allocations: 80.14 kB / 488.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1736, allocations: 3.906 kB / 488.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1736, allocations: 0 / 488.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1737, allocations: 314.8 kB / 489.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.1737, allocations: 0 / 489.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.1738, allocations: 0 / 489.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.1738, allocations: 37.72 kB / 489.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1738, allocations: 4 kB / 489.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.213e-05/0.1739, allocations: 59.39 kB / 489.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.1739, allocations: 33.7 kB / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1739, allocations: 0 / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.174, allocations: 0 / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.174, allocations: 0 / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.174, allocations: 3.938 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.174, allocations: 3.938 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.174, allocations: 0 / 489.2 MB, free: 14.07 MB / 366.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 0.0001252/0.1741, allocations: 143.8 kB / 489.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.1742, allocations: 3.984 kB / 489.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.1742, allocations: 7.125 kB / 489.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1742, allocations: 0 / 489.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1742, allocations: 4 kB / 489.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1742, allocations: 0 / 489.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1743, allocations: 141.7 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1743, allocations: 3.953 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1744, allocations: 0 / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1744, allocations: 7.984 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1744, allocations: 4 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1744, allocations: 0 / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1744, allocations: 0 / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.1745, allocations: 90.78 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.1746, allocations: 92.98 kB / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1746, allocations: 0 / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.1746, allocations: 0 / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1746, allocations: 7.969 kB / 489.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1746, allocations: 0 / 489.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.1747, allocations: 75.28 kB / 489.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 4 kB / 489.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008923/0.1756, allocations: 272 kB / 490 MB, free: 13.12 MB / 366.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.001254/0.1769, allocations: 417.9 kB / 490.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.177, allocations: 59.39 kB / 490.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.177, allocations: 4.062 kB / 490.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.177, allocations: 55.41 kB / 490.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1772, allocations: 0 / 490.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.1774, allocations: 108.4 kB / 490.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1777, allocations: 0.677 MB / 491.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.1777, allocations: 7.438 kB / 491.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1778, allocations: 4 kB / 491.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01417/0.1919, allocations: 6.732 MB / 498.1 MB, free: 4.977 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_trunk_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o] Error 1