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.0008353/0.0008354, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008856/0.0008856, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.66/0.66, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002526, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3353, allocations: 81.58 MB / 0.5831 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005524/0.3359, allocations: 326.8 kB / 0.5834 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3371, allocations: 1.394 MB / 0.5848 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.3371, allocations: 1.25 kB / 0.5848 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.496e-06/0.3372, allocations: 0 / 0.5848 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.3372, allocations: 0 / 0.5848 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3375, allocations: 118.1 kB / 0.5849 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.3376, allocations: 18.77 kB / 0.5849 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3376, allocations: 6.578 kB / 0.5849 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.3377, allocations: 12.89 kB / 0.5849 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.3378, allocations: 26.27 kB / 0.5849 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3378, allocations: 6.281 kB / 0.5849 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.3382, allocations: 306.8 kB / 0.5852 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3382, allocations: 9 kB / 0.5852 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.3383, allocations: 27.33 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.3385, allocations: 131 kB / 0.5854 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3385, allocations: 5.188 kB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3385, allocations: 3.938 kB / 0.5854 GB, free: 2.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.3385, allocations: 0 / 0.5854 GB, free: 2.762 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003446/0.3388, allocations: 361.8 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.3389, allocations: 9.406 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.3393, allocations: 77.38 kB / 0.5858 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.065e-05/0.3393, allocations: 169.8 kB / 0.586 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3393, allocations: 0.8125 kB / 0.586 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3394, allocations: 2.688 kB / 0.586 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3396, allocations: 85.28 kB / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3396, allocations: 0 / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3396, allocations: 0.75 kB / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3396, allocations: 0.75 kB / 0.5861 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.3399, allocations: 77.38 kB / 0.5862 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3401, allocations: 171.7 kB / 0.5863 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.3406, allocations: 140 kB / 0.5865 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3408, allocations: 55.7 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.3412, allocations: 177.4 kB / 0.5867 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3412, allocations: 32.91 kB / 0.5867 GB, free: 1.723 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3412, allocations: 0 / 0.5867 GB, free: 1.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009834/0.3422, allocations: 436.8 kB / 0.5871 GB, free: 1.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.3422, allocations: 51.41 kB / 0.5872 GB, free: 1.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.3423, allocations: 102.2 kB / 0.5873 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3423, allocations: 26.83 kB / 0.5873 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.239e-05/0.3423, allocations: 84.83 kB / 0.5874 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3423, allocations: 19.5 kB / 0.5874 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.3423, allocations: 0 / 0.5874 GB, free: 1.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.3424, allocations: 316.8 kB / 0.5877 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3425, allocations: 44.5 kB / 0.5877 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3427, allocations: 41.28 kB / 0.5878 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3428, allocations: 41.8 kB / 0.5878 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3428, allocations: 1.094 kB / 0.5878 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000309/0.3431, allocations: 123.8 kB / 0.5879 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3431, allocations: 6.156 kB / 0.5879 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3432, allocations: 4.062 kB / 0.5879 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3432, allocations: 5.188 kB / 0.588 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3433, allocations: 24.64 kB / 0.588 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3433, allocations: 9.438 kB / 0.588 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.3434, allocations: 19.02 kB / 0.588 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3434, allocations: 1.906 kB / 0.588 GB, free: 0.7344 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.3435, allocations: 118.5 kB / 0.5881 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.3435, allocations: 1.062 kB / 0.5881 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3439, allocations: 144.7 kB / 0.5883 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3439, allocations: 2.312 kB / 0.5883 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3439, allocations: 0 / 0.5883 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3439, allocations: 0.5625 kB / 0.5883 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/0.344, allocations: 175 kB / 0.5884 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.344, allocations: 0 / 0.5884 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3442, allocations: 38.27 kB / 0.5885 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3442, allocations: 0 / 0.5885 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3442, allocations: 2.125 kB / 0.5885 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3442, allocations: 6.016 kB / 0.5885 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3442, allocations: 0 / 0.5885 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.3447, allocations: 213.9 kB / 0.5887 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3447, allocations: 85 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3447, allocations: 0.75 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.3449, allocations: 20.97 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.3449, allocations: 2.641 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3449, allocations: 3.234 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.692e-05/0.3449, allocations: 81.92 kB / 0.5889 GB, free: 56 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3449, allocations: 0 / 0.5889 GB, free: 56 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000208/0.3451, allocations: 34.81 kB / 0.5889 GB, free: 44 kB / 430.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 (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.0001988/0.3453, allocations: 129.6 kB / 0.589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3457, allocations: 101.4 kB / 0.5891 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3457, allocations: 0 / 0.5891 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3459, allocations: 51.88 kB / 0.5892 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.346, allocations: 11.02 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.3466, allocations: 191.8 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3468, allocations: 0.6792 MB / 0.59 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.3469, allocations: 23.55 kB / 0.59 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3469, allocations: 17.59 kB / 0.5901 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3469, allocations: 0 / 0.5901 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Templates: time 0.003024/0.35, allocations: 1.085 MB / 0.5911 GB, free: 14.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)