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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 100.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.31/0.31, allocations: 54.95 MB / 331.6 MB, free: 2.734 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "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.002225/0.002225, allocations: 78.7 kB / 464.9 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1415, allocations: 59.59 MB / 0.5122 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001846/0.1434, allocations: 0.5485 MB / 0.5128 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1457, allocations: 1.479 MB / 0.5142 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.1458, allocations: 4 kB / 0.5142 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.1458, allocations: 0 / 0.5142 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.1458, allocations: 3.938 kB / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1464, allocations: 139.4 kB / 0.5144 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.1465, allocations: 31.97 kB / 0.5144 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1465, allocations: 0 / 0.5144 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.1466, allocations: 27.91 kB / 0.5144 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.1467, allocations: 19.97 kB / 0.5144 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1467, allocations: 4 kB / 0.5144 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.1472, allocations: 315.3 kB / 0.5147 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.1473, allocations: 11.92 kB / 0.5148 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1473, allocations: 11.98 kB / 0.5148 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1477, allocations: 187.5 kB / 0.5149 GB, free: 1.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1477, allocations: 0 / 0.5149 GB, free: 1.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1477, allocations: 0 / 0.5149 GB, free: 1.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1477, allocations: 4 kB / 0.515 GB, free: 1.961 MB / 398.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.0006641/0.1484, allocations: 371.1 kB / 0.5153 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.1484, allocations: 8.031 kB / 0.5153 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.1489, allocations: 64.86 kB / 0.5154 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1491, allocations: 168.3 kB / 0.5155 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1491, allocations: 384 / 0.5155 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1492, allocations: 19.81 kB / 0.5156 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1494, allocations: 77.64 kB / 0.5156 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1495, allocations: 0 / 0.5156 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1495, allocations: 0 / 0.5156 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1495, allocations: 0 / 0.5156 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1498, allocations: 67.92 kB / 0.5157 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.15, allocations: 165.6 kB / 0.5159 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.1507, allocations: 126.4 kB / 0.516 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1509, allocations: 48.91 kB / 0.516 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000489/0.1514, allocations: 149 kB / 0.5162 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1514, allocations: 34.56 kB / 0.5162 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1514, allocations: 7.938 kB / 0.5162 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001294/0.1527, allocations: 406.2 kB / 0.5166 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1528, allocations: 55.41 kB / 0.5166 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.1529, allocations: 97.84 kB / 0.5167 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1529, allocations: 25.7 kB / 0.5168 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.1529, allocations: 84.14 kB / 0.5168 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.153, allocations: 11.91 kB / 0.5169 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.153, allocations: 25.83 kB / 0.5169 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1532, allocations: 314.8 kB / 0.5172 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1534, allocations: 31.97 kB / 0.5172 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1535, allocations: 43.95 kB / 0.5172 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1539, allocations: 72.75 kB / 0.5173 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1539, allocations: 3.938 kB / 0.5173 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003701/0.1543, allocations: 117.6 kB / 0.5174 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1543, allocations: 8 kB / 0.5174 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1543, allocations: 0 / 0.5174 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1543, allocations: 0 / 0.5174 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1545, allocations: 23.97 kB / 0.5175 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1545, allocations: 3.984 kB / 0.5175 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.1546, allocations: 11.98 kB / 0.5175 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1547, allocations: 4 kB / 0.5175 GB, free: 15.08 MB / 414.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 0.0001203/0.1548, allocations: 126.3 kB / 0.5176 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.1548, allocations: 0 / 0.5176 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.1553, allocations: 129.2 kB / 0.5177 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1553, allocations: 8 kB / 0.5177 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1553, allocations: 0 / 0.5177 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1553, allocations: 0 / 0.5177 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1555, allocations: 173.6 kB / 0.5179 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1555, allocations: 3.938 kB / 0.5179 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1557, allocations: 24.28 kB / 0.5179 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1557, allocations: 4 kB / 0.5179 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1557, allocations: 4.328 kB / 0.5179 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1557, allocations: 0 / 0.5179 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1557, allocations: 4 kB / 0.5179 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.1563, allocations: 188.9 kB / 0.5181 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.1564, allocations: 97.06 kB / 0.5182 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1565, allocations: 0 / 0.5182 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1566, allocations: 16.05 kB / 0.5182 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1566, allocations: 3.938 kB / 0.5182 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1567, allocations: 7.984 kB / 0.5182 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.1567, allocations: 83.28 kB / 0.5183 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 0.5183 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.157, allocations: 27.88 kB / 0.5183 GB, free: 14.09 MB / 414.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.0002584/0.1573, allocations: 127.1 kB / 0.5185 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.1577, allocations: 87.95 kB / 0.5186 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1577, allocations: 4 kB / 0.5186 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1579, allocations: 47.95 kB / 0.5186 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.158, allocations: 3.938 kB / 0.5186 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.1587, allocations: 185.3 kB / 0.5188 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.159, allocations: 0.6806 MB / 0.5194 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.266e-05/0.1591, allocations: 19.98 kB / 0.5195 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1592, allocations: 11.44 kB / 0.5195 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1592, allocations: 4 kB / 0.5195 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Templates: time 0.004102/0.1633, allocations: 1.158 MB / 0.5206 GB, free: 11.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.943567032925785]