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.004731/0.004731, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001032/0.001032, allocations: 195.6 kB / 16.68 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.35/1.35, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4281/0.4281, allocations: 54.95 MB / 324.8 MB, free: 16 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.001469/0.001469, allocations: 68.58 kB / 456.3 MB, free: 38.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1504, allocations: 59.6 MB / 0.5038 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001817/0.1522, allocations: 0.5488 MB / 0.5043 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1541, allocations: 1.482 MB / 0.5058 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.1541, allocations: 0 / 0.5058 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.1541, allocations: 0 / 0.5058 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.1542, allocations: 3.938 kB / 0.5058 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1547, allocations: 137.6 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.1548, allocations: 36.33 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.1549, allocations: 1.531 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.155, allocations: 17.73 kB / 0.506 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1551, allocations: 25.12 kB / 0.506 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1551, allocations: 2.469 kB / 0.506 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.1556, allocations: 320.8 kB / 0.5063 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1556, allocations: 5.359 kB / 0.5063 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1557, allocations: 18.67 kB / 0.5063 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.156, allocations: 187.5 kB / 0.5065 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.156, allocations: 0 / 0.5065 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.156, allocations: 3.938 kB / 0.5065 GB, free: 7.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.156, allocations: 1.375 kB / 0.5065 GB, free: 7.645 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.0006215/0.1566, allocations: 367.5 kB / 0.5068 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.1567, allocations: 13.61 kB / 0.5069 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.1572, allocations: 63.36 kB / 0.5069 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1573, allocations: 165.8 kB / 0.5071 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1574, allocations: 5.75 kB / 0.5071 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1574, allocations: 13.27 kB / 0.5071 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1577, allocations: 74.33 kB / 0.5072 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1577, allocations: 0 / 0.5072 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1577, allocations: 0 / 0.5072 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1577, allocations: 1.375 kB / 0.5072 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.158, allocations: 66.42 kB / 0.5072 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1582, allocations: 166 kB / 0.5074 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.1588, allocations: 121.7 kB / 0.5075 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.159, allocations: 53.59 kB / 0.5076 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.1594, allocations: 153 kB / 0.5077 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.1595, allocations: 31.94 kB / 0.5077 GB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1595, allocations: 0 / 0.5077 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001118/0.1606, allocations: 403.5 kB / 0.5081 GB, free: 6.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1606, allocations: 52.91 kB / 0.5082 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.1607, allocations: 99.44 kB / 0.5083 GB, free: 5.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1607, allocations: 31.14 kB / 0.5083 GB, free: 5.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.1607, allocations: 80.14 kB / 0.5084 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1608, allocations: 26.42 kB / 0.5084 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1608, allocations: 19.17 kB / 0.5084 GB, free: 5.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.1609, allocations: 316.3 kB / 0.5087 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.161, allocations: 36.84 kB / 0.5087 GB, free: 5.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1612, allocations: 37.83 kB / 0.5088 GB, free: 5.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1615, allocations: 75.16 kB / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1615, allocations: 3.938 kB / 0.5089 GB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003364/0.1618, allocations: 121.5 kB / 0.509 GB, free: 5.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1619, allocations: 5.188 kB / 0.509 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1619, allocations: 0 / 0.509 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1619, allocations: 1.469 kB / 0.509 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.162, allocations: 24.12 kB / 0.509 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1621, allocations: 4 kB / 0.509 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.1622, allocations: 12.55 kB / 0.509 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1622, allocations: 1.25 kB / 0.509 GB, free: 5.332 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.333e-05/0.1623, allocations: 116.2 kB / 0.5091 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1623, allocations: 1.281 kB / 0.5091 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.1627, allocations: 144.3 kB / 0.5093 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1627, allocations: 320 / 0.5093 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1627, allocations: 0 / 0.5093 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1627, allocations: 0 / 0.5093 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1628, allocations: 173.6 kB / 0.5094 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1628, allocations: 4 kB / 0.5094 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.163, allocations: 27.97 kB / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.163, allocations: 0 / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.163, allocations: 0 / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.163, allocations: 0 / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.163, allocations: 0 / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.1636, allocations: 188.9 kB / 0.5096 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1636, allocations: 93.08 kB / 0.5097 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1636, allocations: 4.062 kB / 0.5097 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1638, allocations: 11.98 kB / 0.5097 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1638, allocations: 4 kB / 0.5098 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1638, allocations: 3.984 kB / 0.5098 GB, free: 4.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.1638, allocations: 83.28 kB / 0.5098 GB, free: 4.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 3.938 kB / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1641, allocations: 27.88 kB / 0.5099 GB, free: 4.414 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.0001793/0.1643, allocations: 133.7 kB / 0.51 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1646, allocations: 91.86 kB / 0.5101 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1646, allocations: 0 / 0.5101 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1648, allocations: 43.95 kB / 0.5101 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.1649, allocations: 3.938 kB / 0.5101 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.1655, allocations: 181.3 kB / 0.5103 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.1657, allocations: 0.6807 MB / 0.511 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.1658, allocations: 23.97 kB / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.1658, allocations: 11.44 kB / 0.511 GB, free: 3.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1658, allocations: 3.938 kB / 0.511 GB, free: 3.188 MB / 382.1 MB Notification: Performance of Templates: time 0.004349/0.1702, allocations: 1.158 MB / 0.5121 GB, free: 2.031 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)