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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9316/0.9316, allocations: 130.7 MB / 138.7 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 101 kB / 473.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.574e-05, allocations: 8 kB / 0.5485 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5248, allocations: 81.57 MB / 0.6282 GB, free: 42.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.7106, allocations: 111.1 MB / 0.7367 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.7109, allocations: 83.94 kB / 0.7367 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.7272, allocations: 4.099 MB / 0.7408 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7273, allocations: 0 / 0.7408 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7273, allocations: 0 / 0.7408 GB, free: 11.49 MB / 0.5261 GB 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.0005801/0.7279, allocations: 358.3 kB / 0.7411 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.728, allocations: 16.02 kB / 0.7411 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.7285, allocations: 67.84 kB / 0.7412 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.7287, allocations: 167 kB / 0.7413 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.7287, allocations: 0 / 0.7413 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.7287, allocations: 0 / 0.7413 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.7288, allocations: 23.98 kB / 0.7414 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.729, allocations: 45.66 kB / 0.7414 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.729, allocations: 0 / 0.7414 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.729, allocations: 0 / 0.7414 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.729, allocations: 0 / 0.7414 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.7293, allocations: 150.2 kB / 0.7415 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.7296, allocations: 54.61 kB / 0.7416 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.7297, allocations: 24.8 kB / 0.7416 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.7297, allocations: 4 kB / 0.7416 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7298, allocations: 36.11 kB / 0.7417 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.7298, allocations: 0 / 0.7417 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.001664/0.7314, allocations: 438.1 kB / 0.7421 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.7315, allocations: 51.41 kB / 0.7421 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.7316, allocations: 89 kB / 0.7422 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.7316, allocations: 29.7 kB / 0.7422 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.7316, allocations: 80.14 kB / 0.7423 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.7317, allocations: 15.75 kB / 0.7423 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.7317, allocations: 0 / 0.7423 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7318, allocations: 318.8 kB / 0.7426 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.7319, allocations: 15.94 kB / 0.7426 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.7319, allocations: 12 kB / 0.7427 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.7323, allocations: 64.05 kB / 0.7427 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7324, allocations: 3.953 kB / 0.7427 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004929/0.7329, allocations: 121.5 kB / 0.7428 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7329, allocations: 5.406 kB / 0.7428 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7329, allocations: 0 / 0.7428 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7329, allocations: 0 / 0.7428 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.7331, allocations: 23.98 kB / 0.7429 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7331, allocations: 0 / 0.7429 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.7333, allocations: 23.97 kB / 0.7429 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.7333, allocations: 0 / 0.7429 GB, free: 9.055 MB / 0.5261 GB 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 () * 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 8.535e-05/0.7334, allocations: 105 kB / 0.743 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.7334, allocations: 7.859 kB / 0.743 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.7341, allocations: 145.7 kB / 0.7431 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7341, allocations: 0 / 0.7431 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7341, allocations: 0 / 0.7431 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7341, allocations: 0 / 0.7431 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.7343, allocations: 138.2 kB / 0.7433 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7343, allocations: 0 / 0.7433 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7345, allocations: 27.97 kB / 0.7433 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.7345, allocations: 3.953 kB / 0.7433 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7345, allocations: 7.938 kB / 0.7433 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7346, allocations: 4.312 kB / 0.7433 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7346, allocations: 0 / 0.7433 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.7352, allocations: 169 kB / 0.7435 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.7353, allocations: 89.03 kB / 0.7436 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.7354, allocations: 3.953 kB / 0.7436 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.7355, allocations: 15.98 kB / 0.7436 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.7356, allocations: 7.938 kB / 0.7436 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.7356, allocations: 3.984 kB / 0.7436 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.7357, allocations: 83.34 kB / 0.7437 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7357, allocations: 0 / 0.7437 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003807/0.7361, allocations: 39.94 kB / 0.7437 GB, free: 8.133 MB / 0.5261 GB 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 () * 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.0002734/0.7363, allocations: 136.8 kB / 0.7438 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.7365, allocations: 35.98 kB / 0.7439 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7365, allocations: 4 kB / 0.7439 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/0.7366, allocations: 19.94 kB / 0.7439 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7368, allocations: 3.938 kB / 0.7439 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.7374, allocations: 126 kB / 0.744 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.7376, allocations: 0.6807 MB / 0.7447 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.7378, allocations: 20 kB / 0.7447 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.7379, allocations: 11.44 kB / 0.7447 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of SimCode: time 4.8e-07/0.7379, allocations: 0 / 0.7447 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of Templates: time 0.004076/0.742, allocations: 1.056 MB / 0.7457 GB, free: 5.992 MB / 0.5261 GB 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)