Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.004819/0.004819, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001121/0.001121, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4226/0.4226, allocations: 54.94 MB / 324.8 MB, free: 124 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 73.97 kB / 456.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1688, allocations: 59.58 MB / 0.5038 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00193/0.1708, allocations: 0.5529 MB / 0.5044 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1724, allocations: 1.481 MB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.1725, allocations: 5.438 kB / 0.5058 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1725, allocations: 3.938 kB / 0.5058 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.1726, allocations: 0 / 0.5058 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.1731, allocations: 141.1 kB / 0.5059 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.1732, allocations: 32.61 kB / 0.506 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.1733, allocations: 9.172 kB / 0.506 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.134e-05/0.1733, allocations: 17.66 kB / 0.506 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.1734, allocations: 25.66 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1734, allocations: 1.406 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1739, allocations: 321.9 kB / 0.5063 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.1739, allocations: 9.297 kB / 0.5063 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1739, allocations: 10.2 kB / 0.5064 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1742, allocations: 188 kB / 0.5065 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1742, allocations: 0 / 0.5065 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1742, allocations: 0 / 0.5065 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1742, allocations: 5 kB / 0.5065 GB, free: 7.582 MB / 382.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.0005058/0.1747, allocations: 356.8 kB / 0.5069 GB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1748, allocations: 8.594 kB / 0.5069 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.1753, allocations: 79.94 kB / 0.507 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.1754, allocations: 165.4 kB / 0.5071 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1754, allocations: 1.656 kB / 0.5071 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1754, allocations: 5.531 kB / 0.5071 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1757, allocations: 78.62 kB / 0.5072 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1757, allocations: 0 / 0.5072 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1757, allocations: 0 / 0.5072 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1757, allocations: 0 / 0.5072 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.176, allocations: 67.2 kB / 0.5073 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1762, allocations: 165.5 kB / 0.5074 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.1768, allocations: 130.7 kB / 0.5075 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.177, allocations: 48.27 kB / 0.5076 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.1774, allocations: 150.4 kB / 0.5077 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1774, allocations: 39.94 kB / 0.5078 GB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1774, allocations: 0 / 0.5078 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001172/0.1786, allocations: 406.2 kB / 0.5082 GB, free: 6.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1787, allocations: 52.75 kB / 0.5082 GB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.932e-05/0.1787, allocations: 95.62 kB / 0.5083 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1787, allocations: 27.05 kB / 0.5083 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.842e-05/0.1788, allocations: 84.08 kB / 0.5084 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1788, allocations: 18.25 kB / 0.5084 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1788, allocations: 23.94 kB / 0.5084 GB, free: 5.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.1789, allocations: 316.1 kB / 0.5088 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1791, allocations: 36.81 kB / 0.5088 GB, free: 5.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1792, allocations: 37.34 kB / 0.5088 GB, free: 5.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1795, allocations: 82.92 kB / 0.5089 GB, free: 5.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1795, allocations: 3.938 kB / 0.5089 GB, free: 5.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003244/0.1799, allocations: 117.5 kB / 0.509 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1799, allocations: 4 kB / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1799, allocations: 0 / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1799, allocations: 0 / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1801, allocations: 27.91 kB / 0.509 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1801, allocations: 0 / 0.509 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.1802, allocations: 19.98 kB / 0.5091 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1802, allocations: 7.984 kB / 0.5091 GB, free: 5.148 MB / 382.1 MB 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 5.623e-05/0.1803, allocations: 109.8 kB / 0.5092 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1803, allocations: 4 kB / 0.5092 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.1807, allocations: 137.2 kB / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1807, allocations: 0 / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1807, allocations: 0 / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1807, allocations: 0 / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1809, allocations: 173.6 kB / 0.5095 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1809, allocations: 320 / 0.5095 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.181, allocations: 31.91 kB / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.181, allocations: 0 / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1811, allocations: 0 / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1811, allocations: 0 / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1811, allocations: 8 kB / 0.5095 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1816, allocations: 181 kB / 0.5097 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.1816, allocations: 89.03 kB / 0.5098 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1817, allocations: 0 / 0.5098 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1818, allocations: 24.03 kB / 0.5098 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1818, allocations: 4 kB / 0.5098 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1818, allocations: 0 / 0.5098 GB, free: 4.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.117e-05/0.1819, allocations: 83.22 kB / 0.5099 GB, free: 4.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1819, allocations: 0 / 0.5099 GB, free: 4.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1821, allocations: 35.98 kB / 0.5099 GB, free: 4.184 MB / 382.1 MB 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.0001777/0.1823, allocations: 127.2 kB / 0.51 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.1826, allocations: 84.02 kB / 0.5101 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1826, allocations: 0 / 0.5101 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1828, allocations: 47.91 kB / 0.5102 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.183, allocations: 11.38 kB / 0.5102 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.1836, allocations: 189.6 kB / 0.5104 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.1837, allocations: 0.6768 MB / 0.511 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.236e-05/0.1838, allocations: 19.94 kB / 0.511 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1839, allocations: 15.42 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1839, allocations: 4 kB / 0.5111 GB, free: 2.957 MB / 382.1 MB Notification: Performance of Templates: time 0.00334/0.1872, allocations: 1.158 MB / 0.5122 GB, free: 1.801 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)