Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 216 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8729/0.8729, allocations: 134 MB / 447.2 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 66 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1616, allocations: 85.9 MB / 0.7037 GB, free: 0.9023 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001833/0.1634, allocations: 0.6109 MB / 0.7043 GB, free: 300 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1656, allocations: 1.521 MB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.1656, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.1656, allocations: 3.938 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.257e-05/0.1656, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1662, allocations: 147.4 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.1662, allocations: 27.97 kB / 0.706 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1663, allocations: 0 / 0.706 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.1663, allocations: 15.98 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.1664, allocations: 27.89 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1664, allocations: 0 / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.1669, allocations: 323.4 kB / 0.7063 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.167, allocations: 7.984 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.167, allocations: 11.92 kB / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1673, allocations: 191.5 kB / 0.7065 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1673, allocations: 4 kB / 0.7065 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1673, allocations: 0 / 0.7065 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.1673, allocations: 0 / 0.7065 GB, free: 14.01 MB / 0.5294 GB 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.000541/0.1679, allocations: 290 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1679, allocations: 12.03 kB / 0.7068 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.1684, allocations: 64.84 kB / 0.7069 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1685, allocations: 110.5 kB / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1685, allocations: 384 / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1686, allocations: 8.375 kB / 0.707 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1688, allocations: 85.92 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1689, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1689, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1689, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1692, allocations: 63.94 kB / 0.7071 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1694, allocations: 136.7 kB / 0.7072 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.17, allocations: 126.5 kB / 0.7074 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1701, allocations: 40.92 kB / 0.7074 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.1706, allocations: 83.89 kB / 0.7075 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1706, allocations: 34.5 kB / 0.7075 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1706, allocations: 0 / 0.7075 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001163/0.1718, allocations: 329 kB / 0.7078 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1719, allocations: 55.41 kB / 0.7079 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.1719, allocations: 93.86 kB / 0.708 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1719, allocations: 29.83 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.172, allocations: 84.14 kB / 0.7081 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.172, allocations: 19.88 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1721, allocations: 25.66 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1722, allocations: 310.8 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1724, allocations: 43.89 kB / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1725, allocations: 40.09 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1728, allocations: 76.8 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1728, allocations: 0 / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003725/0.1732, allocations: 117.6 kB / 0.7087 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1732, allocations: 8 kB / 0.7087 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1732, allocations: 0 / 0.7087 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1732, allocations: 0 / 0.7087 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1734, allocations: 19.98 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1734, allocations: 0 / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1735, allocations: 15.98 kB / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1735, allocations: 7.922 kB / 0.7087 GB, free: 11.51 MB / 0.5294 GB 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 9.008e-05/0.1736, allocations: 113.8 kB / 0.7088 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1736, allocations: 7.891 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.1741, allocations: 133.3 kB / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1741, allocations: 4 kB / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1741, allocations: 0 / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1741, allocations: 0 / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.1743, allocations: 136.7 kB / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1743, allocations: 0 / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.1744, allocations: 31.86 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1744, allocations: 4 kB / 0.7092 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1744, allocations: 0 / 0.7092 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1744, allocations: 0 / 0.7092 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1744, allocations: 3.984 kB / 0.7092 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.175, allocations: 185.2 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1751, allocations: 15.91 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1751, allocations: 4.391 kB / 0.7094 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1752, allocations: 11.98 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.1752, allocations: 7.984 kB / 0.7094 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1753, allocations: 4 kB / 0.7094 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.1753, allocations: 79.28 kB / 0.7095 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1753, allocations: 0 / 0.7095 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000242/0.1755, allocations: 31.86 kB / 0.7095 GB, free: 10.68 MB / 0.5294 GB 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.0002072/0.1757, allocations: 139.1 kB / 0.7096 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1761, allocations: 75.94 kB / 0.7097 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1761, allocations: 3.938 kB / 0.7097 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1763, allocations: 43.95 kB / 0.7097 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.1765, allocations: 7.984 kB / 0.7097 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.1771, allocations: 215.1 kB / 0.7099 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1775, allocations: 0.6844 MB / 0.7106 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.1775, allocations: 15.44 kB / 0.7106 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1775, allocations: 4 kB / 0.7106 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.003158/0.1807, allocations: 1.124 MB / 0.7117 GB, free: 8.309 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.944504200015217] Failed to read output from testmodel.py, exit status != 0: 0.18869678513146937 0.204747213 0.034208543 Calling exit ...