Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001305/0.001305, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001263/0.001263, allocations: 198.7 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.308/1.308, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.3334/0.3334, allocations: 54.95 MB / 331.6 MB, free: 2.836 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002194/0.002194, allocations: 71.89 kB / 464.9 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 59.59 MB / 0.5122 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001998/0.1446, allocations: 0.5718 MB / 0.5128 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1468, allocations: 1.483 MB / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.1469, allocations: 0 / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.1469, allocations: 0 / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.147, allocations: 11.88 kB / 0.5143 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.1475, allocations: 135 kB / 0.5144 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.1476, allocations: 27.91 kB / 0.5144 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.1476, allocations: 4 kB / 0.5144 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.1477, allocations: 15.98 kB / 0.5144 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.1478, allocations: 23.92 kB / 0.5145 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1478, allocations: 0 / 0.5145 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.1483, allocations: 323.3 kB / 0.5148 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1483, allocations: 3.984 kB / 0.5148 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1484, allocations: 15.92 kB / 0.5148 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1487, allocations: 187.5 kB / 0.515 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1487, allocations: 0 / 0.515 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1487, allocations: 0 / 0.515 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1487, allocations: 0 / 0.515 GB, free: 1.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005874/0.1493, allocations: 387 kB / 0.5153 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1494, allocations: 8.031 kB / 0.5153 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.1498, allocations: 72.8 kB / 0.5154 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.15, allocations: 164.3 kB / 0.5156 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1501, allocations: 8.312 kB / 0.5156 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1501, allocations: 11.94 kB / 0.5156 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.1504, allocations: 73.64 kB / 0.5157 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1504, allocations: 4 kB / 0.5157 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1504, allocations: 4 kB / 0.5157 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1504, allocations: 0 / 0.5157 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1507, allocations: 67.92 kB / 0.5157 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.151, allocations: 169.7 kB / 0.5159 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.1515, allocations: 138.3 kB / 0.516 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1517, allocations: 56.81 kB / 0.5161 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1517, allocations: 0 / 0.5161 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1517, allocations: 34.56 kB / 0.5161 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.1517, allocations: 0 / 0.5161 GB, free: 0.6328 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01044/0.1622, allocations: 2.44 MB / 0.5185 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1622, allocations: 55.41 kB / 0.5185 GB, free: 14.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.1624, allocations: 93.95 kB / 0.5186 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1624, allocations: 29.73 kB / 0.5187 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.1624, allocations: 88.14 kB / 0.5187 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.1625, allocations: 43.58 kB / 0.5188 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.1626, allocations: 33.7 kB / 0.5188 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1628, allocations: 322.8 kB / 0.5191 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.1632, allocations: 99.91 kB / 0.5192 GB, free: 13.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.1637, allocations: 107.9 kB / 0.5193 GB, free: 13.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/0.1645, allocations: 208.7 kB / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1646, allocations: 4 kB / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009654/0.1655, allocations: 261.4 kB / 0.5198 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1656, allocations: 8 kB / 0.5198 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1656, allocations: 4 kB / 0.5198 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1656, allocations: 0 / 0.5198 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.166, allocations: 59.94 kB / 0.5198 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.166, allocations: 3.984 kB / 0.5199 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1663, allocations: 35.95 kB / 0.5199 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1663, allocations: 12 kB / 0.5199 GB, free: 12.58 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 (13): * Single equations (assignments): 13 * 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.0001398/0.1664, allocations: 118.4 kB / 0.52 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1665, allocations: 11.95 kB / 0.52 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.1665, allocations: 7.969 kB / 0.52 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1666, allocations: 4 kB / 0.52 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1666, allocations: 3.984 kB / 0.52 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1666, allocations: 0 / 0.52 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.168, allocations: 0.5412 MB / 0.5206 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.168, allocations: 0 / 0.5206 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1684, allocations: 75.94 kB / 0.5206 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1684, allocations: 3.938 kB / 0.5206 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1684, allocations: 4 kB / 0.5206 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1685, allocations: 0 / 0.5206 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.1685, allocations: 3.938 kB / 0.5206 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.17, allocations: 487 kB / 0.5211 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.1701, allocations: 97.03 kB / 0.5212 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.1701, allocations: 0 / 0.5212 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.1704, allocations: 44.02 kB / 0.5212 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1705, allocations: 11.92 kB / 0.5213 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1705, allocations: 11.98 kB / 0.5213 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.063e-05/0.1705, allocations: 75.28 kB / 0.5213 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1706, allocations: 4.094 kB / 0.5213 GB, free: 10.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.171, allocations: 103.7 kB / 0.5214 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.000446/0.1714, allocations: 170.8 kB / 0.5216 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.1724, allocations: 231.5 kB / 0.5218 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1724, allocations: 0 / 0.5218 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.1729, allocations: 127.8 kB / 0.522 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1732, allocations: 7.438 kB / 0.522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1754, allocations: 489.5 kB / 0.5224 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1758, allocations: 0.6885 MB / 0.5231 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.176, allocations: 52 kB / 0.5231 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1761, allocations: 23.42 kB / 0.5232 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1762, allocations: 0 / 0.5232 GB, free: 9.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005353/0.1815, allocations: 2.279 MB / 0.5254 GB, free: 6.848 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202422894537449]