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.001165/0.001165, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9476/0.9476, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 68.19 kB / 0.5054 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001832/0.1721, allocations: 0.5839 MB / 0.585 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.174, allocations: 1.452 MB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.174, allocations: 0 / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.174, allocations: 0 / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.337e-05/0.1741, allocations: 7.938 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.1745, allocations: 139.4 kB / 0.5865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.1746, allocations: 23.98 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1747, allocations: 0 / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.1747, allocations: 27.92 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.1748, allocations: 27.94 kB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1749, allocations: 4 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.1753, allocations: 311.4 kB / 0.5869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.1753, allocations: 7.969 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.1754, allocations: 15.92 kB / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1757, allocations: 187.6 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1757, allocations: 0 / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1757, allocations: 0 / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1757, allocations: 0 / 0.5871 GB, free: 1.75 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.0005621/0.1763, allocations: 371.7 kB / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.1763, allocations: 12.03 kB / 0.5875 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.1768, allocations: 64.84 kB / 0.5875 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.177, allocations: 164.4 kB / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.177, allocations: 384 / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.177, allocations: 4.375 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1773, allocations: 85.88 kB / 0.5878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1774, allocations: 0 / 0.5878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1774, allocations: 4 kB / 0.5878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1774, allocations: 0 / 0.5878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1777, allocations: 59.94 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.178, allocations: 161.7 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.1786, allocations: 130.5 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1788, allocations: 40.92 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.1794, allocations: 153 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.1794, allocations: 38.48 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1794, allocations: 0 / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001388/0.1808, allocations: 406.2 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1809, allocations: 59.28 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.181, allocations: 97.86 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.181, allocations: 25.7 kB / 0.5889 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.181, allocations: 80.14 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.1811, allocations: 27.64 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1811, allocations: 17.72 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1813, allocations: 315 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1815, allocations: 39.95 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1816, allocations: 35.97 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.182, allocations: 76.73 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.182, allocations: 4 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003915/0.1824, allocations: 109.6 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1824, allocations: 7.984 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1824, allocations: 4.25 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1825, allocations: 0 / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1826, allocations: 23.98 kB / 0.5896 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1826, allocations: 4 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1827, allocations: 12.31 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1828, allocations: 0 / 0.5896 GB, free: 14.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.1829, allocations: 121.8 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1829, allocations: 7.875 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.1834, allocations: 133.1 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1834, allocations: 0 / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1835, allocations: 0 / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1835, allocations: 8 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1837, allocations: 169.6 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1837, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1838, allocations: 23.92 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1838, allocations: 0 / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1839, allocations: 4 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1839, allocations: 0 / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1839, allocations: 0 / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.1845, allocations: 196.9 kB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.1846, allocations: 85.03 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1847, allocations: 3.938 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1848, allocations: 11.98 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1848, allocations: 7.984 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1849, allocations: 12.06 kB / 0.5904 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.1849, allocations: 79.22 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1849, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002536/0.1852, allocations: 28 kB / 0.5905 GB, free: 13.91 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 (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.0003232/0.1855, allocations: 128.5 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.1859, allocations: 84.09 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1859, allocations: 0 / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1861, allocations: 48.08 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.1863, allocations: 8 kB / 0.5907 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.187, allocations: 201.7 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1873, allocations: 0.6874 MB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.1874, allocations: 19.98 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1874, allocations: 11.44 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1874, allocations: 0 / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.003883/0.1913, allocations: 1.148 MB / 0.5927 GB, free: 11.53 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)