Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001075/0.001075, allocations: 84.38 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.00131/0.00131, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9905/0.9905, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8.656 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 82.31 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007417/0.1711, allocations: 320.5 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.173, allocations: 1.387 MB / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.173, allocations: 0 / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1731, allocations: 0 / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.1731, allocations: 11.94 kB / 0.5891 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1736, allocations: 103.7 kB / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.1736, allocations: 19.97 kB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1737, allocations: 4 kB / 0.5892 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.1737, allocations: 23.92 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.1738, allocations: 23.97 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1738, allocations: 0 / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1743, allocations: 307.4 kB / 0.5895 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1743, allocations: 11.92 kB / 0.5895 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1744, allocations: 33.64 kB / 0.5896 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1746, allocations: 131.8 kB / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1746, allocations: 0 / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1746, allocations: 0 / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1746, allocations: 0 / 0.5897 GB, free: 0.6016 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.0005186/0.1751, allocations: 363.5 kB / 0.59 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1752, allocations: 8.031 kB / 0.59 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.1757, allocations: 83.91 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1758, allocations: 163 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1758, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1759, allocations: 4 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1761, allocations: 85.56 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1761, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1761, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1762, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.1764, allocations: 79.94 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1766, allocations: 173.5 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.1772, allocations: 142.6 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1774, allocations: 48.92 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.1778, allocations: 173 kB / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1778, allocations: 42.5 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.395e-06/0.1778, allocations: 3.984 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0011/0.1789, allocations: 434.2 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.179, allocations: 55.41 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.179, allocations: 89.86 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1791, allocations: 25.7 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.1791, allocations: 88.14 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1792, allocations: 15.73 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.1792, allocations: 4.125 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1794, allocations: 322.8 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1795, allocations: 35.97 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1797, allocations: 47.95 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1798, allocations: 43.97 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1798, allocations: 0 / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003295/0.1802, allocations: 129.5 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1802, allocations: 4 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1802, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1802, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1803, allocations: 31.97 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1804, allocations: 256 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.1805, allocations: 15.98 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1805, allocations: 8 kB / 0.5923 GB, free: 13.66 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 7.709e-05/0.1806, allocations: 117.7 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.1806, allocations: 7.984 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.181, allocations: 145.1 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.181, allocations: 4 kB / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.181, allocations: 0 / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.181, allocations: 3.984 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1812, allocations: 165.6 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1812, allocations: 0 / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1813, allocations: 31.91 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1813, allocations: 0 / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1814, allocations: 12 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1814, allocations: 0 / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1814, allocations: 0 / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.1819, allocations: 212.8 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.182, allocations: 85.12 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.182, allocations: 4 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1821, allocations: 15.98 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1821, allocations: 0 / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1821, allocations: 12.05 kB / 0.5931 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.1822, allocations: 75.28 kB / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1822, allocations: 0 / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.1824, allocations: 36 kB / 0.5932 GB, free: 12.64 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.0002115/0.1826, allocations: 119.2 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.183, allocations: 92.02 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.183, allocations: 4 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.1832, allocations: 59.89 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1834, allocations: 3.656 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.184, allocations: 205 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1843, allocations: 0.677 MB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.1844, allocations: 23.92 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1845, allocations: 15.42 kB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1845, allocations: 3.938 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.003693/0.1882, allocations: 1.102 MB / 0.5954 GB, free: 10.3 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)