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.001372/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001425/0.001425, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9483/0.9483, allocations: 135.2 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.59 kB / 0.5049 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.18, allocations: 80.93 MB / 0.5839 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002252/0.1823, allocations: 0.6544 MB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1846, allocations: 1.448 MB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.1846, allocations: 4 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1847, allocations: 0 / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.1847, allocations: 3.938 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.1854, allocations: 115.7 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.148e-05/0.1855, allocations: 35.91 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1856, allocations: 0 / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1856, allocations: 19.92 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.1857, allocations: 19.97 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1857, allocations: 4 kB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.1862, allocations: 315.3 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.1863, allocations: 7.984 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.1863, allocations: 11.92 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.1868, allocations: 187.6 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1868, allocations: 0 / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1868, allocations: 0 / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1868, allocations: 4 kB / 0.5867 GB, free: 1.941 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.0005855/0.1874, allocations: 367.7 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1874, allocations: 12.03 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.1879, allocations: 64.86 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.188, allocations: 168.4 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1881, allocations: 4.359 kB / 0.5873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1881, allocations: 4.375 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1884, allocations: 77.89 kB / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1884, allocations: 4 kB / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1884, allocations: 0 / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1885, allocations: 0 / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.1888, allocations: 63.92 kB / 0.5874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.189, allocations: 169.7 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1897, allocations: 122.5 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1899, allocations: 44.84 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.1904, allocations: 160.9 kB / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1905, allocations: 42.5 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.1905, allocations: 0 / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001304/0.1918, allocations: 402.2 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1919, allocations: 51.41 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.1919, allocations: 97.84 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.192, allocations: 25.7 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.192, allocations: 84.14 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.192, allocations: 19.78 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.1921, allocations: 25.7 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.1922, allocations: 314.8 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1924, allocations: 31.97 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1925, allocations: 39.95 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1928, allocations: 84.98 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1928, allocations: 0 / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003404/0.1932, allocations: 117.5 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1932, allocations: 4 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1932, allocations: 0 / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1933, allocations: 4 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1934, allocations: 23.97 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1934, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1935, allocations: 19.98 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1935, allocations: 0 / 0.5892 GB, free: 15.06 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 8.832e-05/0.1936, allocations: 109.8 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1937, allocations: 7.922 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.1941, allocations: 137.1 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1941, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1941, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1942, allocations: 7.984 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1943, allocations: 157.7 kB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1943, allocations: 0 / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1945, allocations: 27.91 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1945, allocations: 336 / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1945, allocations: 8 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1945, allocations: 7.938 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1946, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.1951, allocations: 188.9 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.1952, allocations: 89.2 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1952, allocations: 4.031 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1954, allocations: 24.05 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.1954, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1954, allocations: 7.984 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.1954, allocations: 75.28 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1955, allocations: 0 / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.1957, allocations: 32 kB / 0.5901 GB, free: 14.09 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.0002336/0.1959, allocations: 127.2 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.1963, allocations: 87.95 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1963, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1965, allocations: 51.95 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.1967, allocations: 8.719 kB / 0.5903 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.1973, allocations: 197.3 kB / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1976, allocations: 0.6767 MB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.1977, allocations: 31.83 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.1977, allocations: 11.44 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1978, allocations: 0 / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.003407/0.2012, allocations: 1.141 MB / 0.5923 GB, free: 11.71 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)