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.004323/0.004323, allocations: 100.6 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.0009624/0.0009624, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.327/1.327, allocations: 205.1 MB / 222.6 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3901/0.3901, allocations: 54.95 MB / 324.8 MB, free: 96 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.001521/0.001522, allocations: 68.3 kB / 456.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1439, allocations: 59.59 MB / 0.5038 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001713/0.1456, allocations: 0.5562 MB / 0.5044 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1473, allocations: 1.486 MB / 0.5058 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.1474, allocations: 0 / 0.5058 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1474, allocations: 3.938 kB / 0.5058 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.1474, allocations: 0 / 0.5058 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.148, allocations: 142.6 kB / 0.506 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.1481, allocations: 27.22 kB / 0.506 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1481, allocations: 1.469 kB / 0.506 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.1482, allocations: 17.77 kB / 0.506 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1483, allocations: 26.27 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1483, allocations: 1.344 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.1488, allocations: 317 kB / 0.5063 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.1488, allocations: 13.34 kB / 0.5063 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1488, allocations: 14.92 kB / 0.5064 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1492, allocations: 191.2 kB / 0.5065 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1492, allocations: 0 / 0.5065 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1492, allocations: 9.094 kB / 0.5066 GB, free: 7.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1492, allocations: 0 / 0.5066 GB, free: 7.59 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.0005773/0.1498, allocations: 360.6 kB / 0.5069 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1498, allocations: 10.03 kB / 0.5069 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.1503, allocations: 67.02 kB / 0.507 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1504, allocations: 169.7 kB / 0.5071 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1505, allocations: 1.75 kB / 0.5071 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1505, allocations: 9.312 kB / 0.5071 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1508, allocations: 69.02 kB / 0.5072 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1508, allocations: 1.375 kB / 0.5072 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1508, allocations: 4 kB / 0.5072 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1509, allocations: 0 / 0.5072 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.1512, allocations: 66.42 kB / 0.5073 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1514, allocations: 169.8 kB / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.152, allocations: 123 kB / 0.5076 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.1522, allocations: 44.28 kB / 0.5076 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.1527, allocations: 158.6 kB / 0.5077 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1528, allocations: 32.03 kB / 0.5078 GB, free: 6.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1528, allocations: 0 / 0.5078 GB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001258/0.154, allocations: 407 kB / 0.5082 GB, free: 6.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1541, allocations: 51.41 kB / 0.5082 GB, free: 6.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.1542, allocations: 96.53 kB / 0.5083 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1542, allocations: 29.7 kB / 0.5083 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.1542, allocations: 89.58 kB / 0.5084 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1543, allocations: 18.06 kB / 0.5084 GB, free: 5.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1543, allocations: 22.83 kB / 0.5085 GB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.1544, allocations: 315.9 kB / 0.5088 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1545, allocations: 33.22 kB / 0.5088 GB, free: 5.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1547, allocations: 41.89 kB / 0.5088 GB, free: 5.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.155, allocations: 72.5 kB / 0.5089 GB, free: 5.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.155, allocations: 3.938 kB / 0.5089 GB, free: 5.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003292/0.1553, allocations: 121.7 kB / 0.509 GB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1554, allocations: 4 kB / 0.509 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1554, allocations: 4 kB / 0.509 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1554, allocations: 0 / 0.509 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1555, allocations: 27.91 kB / 0.5091 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1556, allocations: 0 / 0.5091 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.1557, allocations: 15.98 kB / 0.5091 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1557, allocations: 0 / 0.5091 GB, free: 5.172 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 6.671e-05/0.1557, allocations: 117.8 kB / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1558, allocations: 0 / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.1562, allocations: 137.1 kB / 0.5093 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1562, allocations: 4 kB / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1562, allocations: 0 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1562, allocations: 0 / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.579e-05/0.1563, allocations: 177.5 kB / 0.5095 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1563, allocations: 0 / 0.5095 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1565, allocations: 23.97 kB / 0.5095 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1565, allocations: 4 kB / 0.5095 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1565, allocations: 4 kB / 0.5095 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1565, allocations: 0 / 0.5095 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1565, allocations: 0 / 0.5095 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.1571, allocations: 185 kB / 0.5097 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1572, allocations: 89 kB / 0.5098 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1572, allocations: 4.031 kB / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1573, allocations: 16.05 kB / 0.5098 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1573, allocations: 192 / 0.5098 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1574, allocations: 11.98 kB / 0.5098 GB, free: 4.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.815e-05/0.1574, allocations: 79.22 kB / 0.5099 GB, free: 4.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1574, allocations: 3.938 kB / 0.5099 GB, free: 4.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1576, allocations: 36 kB / 0.5099 GB, free: 4.195 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.000215/0.1579, allocations: 123.3 kB / 0.51 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.1583, allocations: 79.92 kB / 0.5101 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1583, allocations: 4 kB / 0.5101 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1584, allocations: 47.89 kB / 0.5102 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.1586, allocations: 7.938 kB / 0.5102 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.1593, allocations: 181.7 kB / 0.5103 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1594, allocations: 0.6807 MB / 0.511 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.278e-05/0.1595, allocations: 23.98 kB / 0.511 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1596, allocations: 15.44 kB / 0.511 GB, free: 2.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1596, allocations: 0 / 0.511 GB, free: 2.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003376/0.163, allocations: 1.158 MB / 0.5122 GB, free: 1.82 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)