Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 96.14 kB / 15.87 MB, free: 16 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.001038/0.001038, allocations: 194.3 kB / 16.79 MB, free: 6.812 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.263/1.263, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7214/0.7214, allocations: 132.2 MB / 422.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 59.97 kB / 0.5017 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.153, allocations: 80.21 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001596/0.1547, allocations: 0.6569 MB / 0.5807 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1562, allocations: 1.464 MB / 0.5821 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.1562, allocations: 0 / 0.5821 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.1562, allocations: 4 kB / 0.5821 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.514e-05/0.1563, allocations: 0 / 0.5821 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1566, allocations: 111.7 kB / 0.5822 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.1567, allocations: 31.97 kB / 0.5823 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.1567, allocations: 4 kB / 0.5823 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.1568, allocations: 19.86 kB / 0.5823 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1568, allocations: 19.97 kB / 0.5823 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1569, allocations: 4 kB / 0.5823 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1572, allocations: 323.3 kB / 0.5826 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1573, allocations: 7.984 kB / 0.5826 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.1573, allocations: 11.92 kB / 0.5826 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1575, allocations: 127.9 kB / 0.5828 GB, free: 6.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1575, allocations: 0 / 0.5828 GB, free: 6.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1575, allocations: 0 / 0.5828 GB, free: 6.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1575, allocations: 0 / 0.5828 GB, free: 6.426 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004414/0.158, allocations: 371.7 kB / 0.5831 GB, free: 6.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.158, allocations: 8.031 kB / 0.5831 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/0.1584, allocations: 80.72 kB / 0.5832 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.1585, allocations: 164.4 kB / 0.5833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1586, allocations: 384 / 0.5834 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1586, allocations: 4.375 kB / 0.5834 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1588, allocations: 81.88 kB / 0.5834 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1588, allocations: 0 / 0.5834 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1589, allocations: 4 kB / 0.5834 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1589, allocations: 0 / 0.5834 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.1591, allocations: 59.94 kB / 0.5835 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1593, allocations: 169.7 kB / 0.5837 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.1599, allocations: 118.5 kB / 0.5838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.16, allocations: 48.91 kB / 0.5838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/0.1605, allocations: 149 kB / 0.584 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1605, allocations: 42.44 kB / 0.584 GB, free: 4.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1605, allocations: 0 / 0.584 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001035/0.1615, allocations: 410.1 kB / 0.5844 GB, free: 4.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1616, allocations: 55.41 kB / 0.5844 GB, free: 4.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.1616, allocations: 93.86 kB / 0.5845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1616, allocations: 25.7 kB / 0.5846 GB, free: 4.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.1617, allocations: 92.12 kB / 0.5846 GB, free: 4.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1617, allocations: 15.66 kB / 0.5847 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1618, allocations: 29.7 kB / 0.5847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.1618, allocations: 310.8 kB / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.162, allocations: 40.08 kB / 0.585 GB, free: 3.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1621, allocations: 35.97 kB / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1624, allocations: 76.8 kB / 0.5851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1624, allocations: 0 / 0.5851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003315/0.1628, allocations: 113.5 kB / 0.5852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1628, allocations: 4 kB / 0.5852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1628, allocations: 7.984 kB / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1628, allocations: 0 / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1629, allocations: 23.98 kB / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.163, allocations: 0 / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.1631, allocations: 15.98 kB / 0.5853 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1631, allocations: 3.938 kB / 0.5853 GB, free: 3.539 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.757e-05/0.1631, allocations: 114.5 kB / 0.5854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.1632, allocations: 3.938 kB / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.1636, allocations: 137.1 kB / 0.5855 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1636, allocations: 11.92 kB / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1636, allocations: 0 / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1636, allocations: 0 / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1637, allocations: 158 kB / 0.5857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1638, allocations: 3.984 kB / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1639, allocations: 31.92 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1639, allocations: 4 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1639, allocations: 4 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1639, allocations: 3.984 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1639, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.1645, allocations: 192.9 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1645, allocations: 85.03 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1646, allocations: 8.031 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1647, allocations: 11.98 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1647, allocations: 3.984 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1647, allocations: 4 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.1648, allocations: 79.34 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1648, allocations: 0 / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.165, allocations: 32 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001853/0.1652, allocations: 127.2 kB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1655, allocations: 83.95 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1655, allocations: 0 / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1657, allocations: 43.95 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1658, allocations: 15.94 kB / 0.5864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1664, allocations: 213.1 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.1666, allocations: 0.6808 MB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.1667, allocations: 15.44 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1667, allocations: 0 / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of Templates: time 0.002178/0.1688, allocations: 1.12 MB / 0.5884 GB, free: 216 kB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1