Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008108/0.0008112, allocations: 93.62 kB / 17.63 MB, free: 6.141 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.0008569/0.0008569, allocations: 182.6 kB / 18.52 MB, free: 5.301 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.475/1.475, allocations: 223.2 MB / 242.5 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 44.22 MB / 337.9 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005458/0.0005458, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005754/0.1545, allocations: 209.4 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1565, allocations: 1.467 MB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.1565, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1565, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.1565, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.0007508/0.1573, allocations: 206.6 kB / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.407e-05/0.1573, allocations: 0 / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.1574, allocations: 0 / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.901e-05/0.1574, allocations: 0 / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.1574, allocations: 4 kB / 474.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.1574, allocations: 0 / 474.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.1584, allocations: 0.6752 MB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.1584, allocations: 4 kB / 474.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1585, allocations: 29.64 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.159, allocations: 447.3 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.159, allocations: 4 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.159, allocations: 0 / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.159, allocations: 0 / 475.2 MB, free: 10.68 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.0004423/0.1594, allocations: 361.1 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1595, allocations: 8.031 kB / 475.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1595, allocations: 0 / 475.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1596, allocations: 167.1 kB / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1597, allocations: 4 kB / 475.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1597, allocations: 0 / 475.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.1598, allocations: 37.64 kB / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1598, allocations: 0 / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.1598, allocations: 0 / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1598, allocations: 0 / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.1598, allocations: 3.938 kB / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.16, allocations: 141.7 kB / 475.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.1601, allocations: 26.61 kB / 475.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.1601, allocations: 12.78 kB / 475.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.1601, allocations: 0 / 475.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.1602, allocations: 64.28 kB / 476 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1602, allocations: 0 / 476 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000196/0.1604, allocations: 63.34 kB / 476.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1604, allocations: 81.11 kB / 476.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.1605, allocations: 101.9 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1605, allocations: 25.7 kB / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.1605, allocations: 80.14 kB / 476.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1606, allocations: 0 / 476.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1606, allocations: 0 / 476.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.1608, allocations: 310.8 kB / 476.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.1609, allocations: 4 kB / 476.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.1609, allocations: 0 / 476.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.1609, allocations: 29.77 kB / 476.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1609, allocations: 0 / 476.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001912/0.1611, allocations: 71.33 kB / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.1612, allocations: 29.7 kB / 476.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1612, allocations: 4 kB / 476.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1612, allocations: 3.953 kB / 476.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1612, allocations: 4 kB / 476.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.816 MB / 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.0001601/0.1614, allocations: 140.1 kB / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.1614, allocations: 0 / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.1614, allocations: 7.109 kB / 476.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1614, allocations: 3.953 kB / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1615, allocations: 0 / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1615, allocations: 0 / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1617, allocations: 145.7 kB / 477.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1617, allocations: 0 / 477.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1617, allocations: 0 / 477.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1617, allocations: 0 / 477.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1617, allocations: 4 kB / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1617, allocations: 7.984 kB / 477.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1617, allocations: 3.953 kB / 477.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.226e-05/0.1618, allocations: 94.69 kB / 477.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1619, allocations: 81.09 kB / 477.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1619, allocations: 4 kB / 477.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1619, allocations: 0 / 477.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1619, allocations: 4.031 kB / 477.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.162, allocations: 11.83 kB / 477.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.162, allocations: 75.28 kB / 477.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.162, allocations: 0 / 477.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1624, allocations: 120 kB / 477.5 MB, free: 8.02 MB / 350.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.0006682/0.1631, allocations: 187.2 kB / 477.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.1632, allocations: 55.41 kB / 477.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1632, allocations: 0 / 477.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.1632, allocations: 59.34 kB / 477.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1634, allocations: 0 / 477.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001825/0.1636, allocations: 108.6 kB / 477.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1638, allocations: 0.6692 MB / 478.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-06/0.1638, allocations: 7.438 kB / 478.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1638, allocations: 0 / 478.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004831/0.1687, allocations: 2.696 MB / 481.3 MB, free: 4.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile make -j1 -f ModelicaTest_4.0.0_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 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.TestMatrices3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3CalcHelperMain.o] Error 1