Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009109, allocations: 91.55 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.0009092/0.0009092, allocations: 186.9 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.533/1.533, allocations: 223.2 MB / 242.5 MB, free: 316 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.2499/0.2499, allocations: 44.23 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005574, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1653, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0007838/0.1662, allocations: 230.9 kB / 472.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003454/0.1665, allocations: 87.77 kB / 472.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.1666, allocations: 0 / 472.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.1666, allocations: 0 / 472.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.1666, allocations: 0 / 472.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1668, allocations: 11.98 kB / 472.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.1669, allocations: 11.94 kB / 472.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.167, allocations: 4 kB / 472.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.167, allocations: 3.984 kB / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.1671, allocations: 8 kB / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1672, allocations: 0 / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1673, allocations: 35.97 kB / 472.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1673, allocations: 7.922 kB / 472.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1673, allocations: 25.7 kB / 472.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.391e-05/0.1674, allocations: 19.97 kB / 472.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1675, allocations: 0 / 472.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1675, allocations: 0 / 472.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1675, allocations: 0 / 472.6 MB, free: 13.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005055/0.168, allocations: 323.4 kB / 472.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.168, allocations: 8.031 kB / 472.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1681, allocations: 7.938 kB / 472.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1683, allocations: 159.1 kB / 473.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1683, allocations: 4 kB / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1684, allocations: 4 kB / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1685, allocations: 59.3 kB / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1685, allocations: 0 / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1686, allocations: 0 / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1686, allocations: 4 kB / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1687, allocations: 19.97 kB / 473.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.1691, allocations: 325.2 kB / 473.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.1692, allocations: 30.55 kB / 473.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1693, allocations: 16.8 kB / 473.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1693, allocations: 4 kB / 473.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.1694, allocations: 38.56 kB / 473.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1694, allocations: 0 / 473.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.1696, allocations: 53.78 kB / 473.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1697, allocations: 55.34 kB / 473.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1698, allocations: 97.84 kB / 473.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1698, allocations: 29.7 kB / 473.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.1699, allocations: 84.27 kB / 473.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1699, allocations: 7.812 kB / 473.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.1699, allocations: 0 / 473.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1701, allocations: 318.8 kB / 474.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.1701, allocations: 7.984 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.1702, allocations: 17.72 kB / 474.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.1703, allocations: 4 kB / 474.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1703, allocations: 0 / 474.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.1704, allocations: 69.58 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1704, allocations: 4 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1704, allocations: 0 / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1704, allocations: 0 / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.1705, allocations: 16.11 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1705, allocations: 0 / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.1706, allocations: 3.906 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1706, allocations: 4 kB / 474.4 MB, free: 11.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001143/0.1707, allocations: 117.8 kB / 474.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1708, allocations: 11.98 kB / 474.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1709, allocations: 61.12 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1709, allocations: 4 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.171, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.171, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1712, allocations: 161.6 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1712, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1712, allocations: 11.98 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1712, allocations: 3.953 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1712, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1713, allocations: 4 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1713, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1714, allocations: 151.5 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.1715, allocations: 81.02 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1715, allocations: 7.953 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.1715, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1716, allocations: 7.984 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1716, allocations: 3.938 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.1716, allocations: 83.28 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1716, allocations: 0 / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1719, allocations: 8 kB / 475.1 MB, free: 10.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001405/0.172, allocations: 95.25 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1721, allocations: 28.05 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1721, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.1722, allocations: 16 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1724, allocations: 10.14 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1727, allocations: 144.4 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1731, allocations: 0.677 MB / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1731, allocations: 11.44 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1731, allocations: 0 / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Templates: time 0.002172/0.1753, allocations: 0.5641 MB / 476.6 MB, free: 8.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivativeCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivativeCalcHelperMain.o] Error 1