Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007307/0.0007308, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.262/1.262, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6999/0.6999, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8 kB / 0.5046 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4364, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007317/0.4372, allocations: 341.7 kB / 0.5846 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000342/0.4376, allocations: 71.19 kB / 0.5847 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.4376, allocations: 0 / 0.5847 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.4377, allocations: 3.609 kB / 0.5847 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.4377, allocations: 4.859 kB / 0.5847 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.438, allocations: 37.23 kB / 0.5847 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.438, allocations: 29.83 kB / 0.5848 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.4381, allocations: 2.156 kB / 0.5848 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.4381, allocations: 13.5 kB / 0.5848 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.4383, allocations: 74.16 kB / 0.5848 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4383, allocations: 0.9375 kB / 0.5849 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.4384, allocations: 35.34 kB / 0.5849 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.4385, allocations: 21.3 kB / 0.5849 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.4385, allocations: 48.14 kB / 0.5849 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.4386, allocations: 43.28 kB / 0.585 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4386, allocations: 0.6875 kB / 0.585 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4387, allocations: 0 / 0.585 GB, free: 3.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.4387, allocations: 0.6562 kB / 0.585 GB, free: 3.664 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002523/0.4389, allocations: 344.7 kB / 0.5853 GB, free: 3.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.439, allocations: 10.22 kB / 0.5853 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.439, allocations: 8.906 kB / 0.5853 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.359e-05/0.4391, allocations: 167.3 kB / 0.5855 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4391, allocations: 5.625 kB / 0.5855 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4391, allocations: 2.469 kB / 0.5855 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.4394, allocations: 189.3 kB / 0.5857 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4394, allocations: 0 / 0.5857 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4394, allocations: 6.562 kB / 0.5857 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.4395, allocations: 24.06 kB / 0.5857 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.4395, allocations: 45.47 kB / 0.5858 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.44, allocations: 0.896 MB / 0.5866 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.4401, allocations: 172 kB / 0.5868 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.4401, allocations: 80.14 kB / 0.5869 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.4401, allocations: 75.28 kB / 0.5869 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4402, allocations: 112.6 kB / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4402, allocations: 0 / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.684e-05/0.4402, allocations: 44.98 kB / 0.5871 GB, free: 1.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.4403, allocations: 386.2 kB / 0.5875 GB, free: 1.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4405, allocations: 166.4 kB / 0.5876 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4405, allocations: 31.92 kB / 0.5877 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.4405, allocations: 146.8 kB / 0.5878 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.4406, allocations: 6.109 kB / 0.5878 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4406, allocations: 21.81 kB / 0.5878 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.4407, allocations: 322.9 kB / 0.5881 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.4408, allocations: 30.77 kB / 0.5882 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4409, allocations: 216.8 kB / 0.5884 GB, free: 240 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.4411, allocations: 206.1 kB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4411, allocations: 2.25 kB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003555/0.4415, allocations: 191 kB / 0.5887 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4415, allocations: 8.188 kB / 0.5888 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4415, allocations: 5.219 kB / 0.5888 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4415, allocations: 6.312 kB / 0.5888 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4417, allocations: 45.66 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.4417, allocations: 7.844 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.4418, allocations: 23.28 kB / 0.5888 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4418, allocations: 22.03 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.442, allocations: 211.9 kB / 0.5891 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.442, allocations: 114.6 kB / 0.5892 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.4421, allocations: 119 kB / 0.5893 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.117e-05/0.4422, allocations: 188.8 kB / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.4422, allocations: 181.7 kB / 0.5896 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.4423, allocations: 182 kB / 0.5898 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.4425, allocations: 422.3 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.4426, allocations: 101.5 kB / 0.5903 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.4426, allocations: 106.3 kB / 0.5904 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.097e-05/0.4427, allocations: 182.7 kB / 0.5906 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.4428, allocations: 182.5 kB / 0.5908 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.557e-05/0.4428, allocations: 185.5 kB / 0.5909 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.205e-05/0.4429, allocations: 183 kB / 0.5911 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.443, allocations: 313.3 kB / 0.5914 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.4431, allocations: 194 kB / 0.5916 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.4432, allocations: 179.4 kB / 0.5918 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.4433, allocations: 112.4 kB / 0.5919 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.4434, allocations: 182.2 kB / 0.592 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.4434, allocations: 103.1 kB / 0.5921 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.4435, allocations: 115 kB / 0.5923 GB, free: 12.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4435, allocations: 5.125 kB / 0.5923 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.4438, allocations: 25.69 kB / 0.5923 GB, free: 12.3 MB / 446.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000217/0.444, allocations: 180.4 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.4442, allocations: 76.31 kB / 0.5925 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4442, allocations: 1.312 kB / 0.5925 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.4442, allocations: 5.422 kB / 0.5925 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4446, allocations: 0.533 MB / 0.5931 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.4449, allocations: 276.8 kB / 0.5933 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4452, allocations: 0.6926 MB / 0.594 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.4452, allocations: 18.75 kB / 0.594 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4452, allocations: 0 / 0.594 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Templates: time 0.003775/0.449, allocations: 1.69 MB / 0.5957 GB, free: 10.51 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonicCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonicCalcHelperMain.o] Error 1