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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.0009338/0.0009337, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001053/0.001053, allocations: 177.3 kB / 15.95 MB, free: 216 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8507/0.8507, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 12 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006783/0.1501, allocations: 323 kB / 0.5875 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1517, allocations: 1.385 MB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1517, allocations: 4 kB / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.227e-06/0.1518, allocations: 0 / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1518, allocations: 0 / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1522, allocations: 99.72 kB / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.1523, allocations: 31.89 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1524, allocations: 3.938 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1524, allocations: 23.98 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.1525, allocations: 19.95 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1525, allocations: 4 kB / 0.5891 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.153, allocations: 307.5 kB / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.153, allocations: 15.92 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.153, allocations: 25.7 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1533, allocations: 135.9 kB / 0.5895 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1533, allocations: 0 / 0.5895 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1533, allocations: 0 / 0.5895 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1533, allocations: 0 / 0.5895 GB, free: 0.7734 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.0004576/0.1537, allocations: 367.3 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1538, allocations: 15.97 kB / 0.5899 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/0.1542, allocations: 75.91 kB / 0.59 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1543, allocations: 167 kB / 0.5901 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1544, allocations: 0 / 0.5901 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1544, allocations: 4 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1547, allocations: 81.62 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1547, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1547, allocations: 4 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1547, allocations: 4 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.155, allocations: 79.92 kB / 0.5903 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1552, allocations: 165.6 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.1557, allocations: 142.5 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/0.1562, allocations: 173.1 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1562, allocations: 34.56 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1562, allocations: 0 / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001068/0.1573, allocations: 442.5 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1573, allocations: 51.41 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.1574, allocations: 93.95 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1574, allocations: 29.73 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1575, allocations: 84.14 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1575, allocations: 15.75 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.1575, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1576, allocations: 318.8 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1578, allocations: 43.97 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1579, allocations: 43.91 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1581, allocations: 48.11 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1581, allocations: 0 / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.1584, allocations: 129.5 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1584, allocations: 4 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.1584, allocations: 8 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1585, allocations: 3.938 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1586, allocations: 27.97 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1586, allocations: 0 / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.1587, allocations: 15.98 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1587, allocations: 7.984 kB / 0.5921 GB, free: 13.87 MB / 0.4981 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 () * 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 8.866e-05/0.1588, allocations: 117.7 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1589, allocations: 8 kB / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.1593, allocations: 145.2 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1593, allocations: 0 / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1593, allocations: 0 / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1593, allocations: 0 / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1594, allocations: 169.6 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1594, allocations: 0 / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1596, allocations: 31.97 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1596, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1596, allocations: 4 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1596, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1596, allocations: 3.938 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.1601, allocations: 200.9 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1602, allocations: 89.08 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1602, allocations: 4 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1603, allocations: 24.22 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.1604, allocations: 8 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1604, allocations: 0 / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.1604, allocations: 79.28 kB / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002164/0.1607, allocations: 35.98 kB / 0.593 GB, free: 12.87 MB / 0.4981 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 () * 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.0001894/0.1608, allocations: 131.3 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.1612, allocations: 99.86 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1612, allocations: 0 / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1614, allocations: 51.97 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.1615, allocations: 2.031 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.162, allocations: 208.5 kB / 0.5934 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1622, allocations: 0.6848 MB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.1623, allocations: 20 kB / 0.5941 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.1624, allocations: 15.42 kB / 0.5941 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1624, allocations: 3.938 kB / 0.5941 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.002636/0.165, allocations: 1.082 MB / 0.5952 GB, free: 10.52 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: