Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 85.95 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.00132, allocations: 197.4 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 11.98 kB / 418.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 63.46 MB / 482.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000698/0.1532, allocations: 213.3 kB / 482.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1557, allocations: 1.511 MB / 483.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.1558, allocations: 0 / 483.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1558, allocations: 0 / 483.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.1558, allocations: 3.938 kB / 483.8 MB, free: 3.625 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1568, allocations: 191.6 kB / 484 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.568e-05/0.1569, allocations: 0 / 484 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1569, allocations: 3.984 kB / 484 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.157, allocations: 0 / 484 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.157, allocations: 8 kB / 484 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.157, allocations: 0 / 484 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1584, allocations: 0.6791 MB / 484.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1584, allocations: 0 / 484.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.1585, allocations: 25.7 kB / 484.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.1594, allocations: 451.3 kB / 485.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1594, allocations: 0 / 485.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1594, allocations: 3.938 kB / 485.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1594, allocations: 0 / 485.2 MB, free: 2.27 MB / 350.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.0007584/0.1602, allocations: 369.1 kB / 485.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1602, allocations: 8.031 kB / 485.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.1603, allocations: 0 / 485.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1604, allocations: 163 kB / 485.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1604, allocations: 0 / 485.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.1604, allocations: 4 kB / 485.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.1605, allocations: 25.7 kB / 485.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.1605, allocations: 0 / 485.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1605, allocations: 0 / 485.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1606, allocations: 11.92 kB / 485.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.1606, allocations: 11.94 kB / 485.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1608, allocations: 149.6 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/0.1608, allocations: 18.61 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.1608, allocations: 4.859 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1608, allocations: 3.984 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.1609, allocations: 56.27 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1609, allocations: 4 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.1611, allocations: 71.39 kB / 486.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1611, allocations: 77.11 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.1612, allocations: 93.86 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1612, allocations: 25.7 kB / 486.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1613, allocations: 80.14 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.1613, allocations: 0 / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-06/0.1613, allocations: 0 / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1614, allocations: 319 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.1614, allocations: 0 / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.1615, allocations: 4 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.1615, allocations: 25.7 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1615, allocations: 3.953 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.027e-05/0.1616, allocations: 67.34 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1616, allocations: 29.7 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1617, allocations: 3.984 kB / 486.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1617, allocations: 0 / 486.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-07/0.1617, allocations: 4.094 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1617, allocations: 4 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.1617, allocations: 0 / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1617, allocations: 0 / 486.8 MB, free: 412 kB / 350.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.0001279/0.1619, allocations: 135.5 kB / 486.9 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.1619, allocations: 3.953 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-06/0.1619, allocations: 3.125 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.1619, allocations: 3.938 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1619, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-06/0.1619, allocations: 4 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.162, allocations: 153.7 kB / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.1621, allocations: 0 / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.1621, allocations: 7.891 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1621, allocations: 0 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1621, allocations: 0 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1621, allocations: 0 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1621, allocations: 0 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1622, allocations: 102.7 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1623, allocations: 77.11 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1623, allocations: 3.953 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.1623, allocations: 4 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.1623, allocations: 0 / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1623, allocations: 3.984 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.1624, allocations: 75.28 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1624, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.1629, allocations: 116 kB / 487.5 MB, free: 15.62 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.0007654/0.1637, allocations: 180.7 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1638, allocations: 63.39 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1638, allocations: 4.062 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.1639, allocations: 55.34 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.164, allocations: 11.88 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.1643, allocations: 104.5 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1646, allocations: 0.677 MB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.1646, allocations: 7.438 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1646, allocations: 0 / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.005137/0.1698, allocations: 2.692 MB / 491.2 MB, free: 11.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile make -j1 -f ModelicaTest_trunk_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/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.TestMatrices3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatrices3CalcHelperMain.o] Error 1