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.002097/0.002097, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002997/0.002997, allocations: 214.2 kB / 22.25 MB, free: 5.262 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.639/1.639, allocations: 230.6 MB / 256 MB, free: 7.785 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.8755/0.8755, allocations: 134 MB / 446.4 MB, free: 9.957 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.002071/0.002071, allocations: 62.78 kB / 0.619 GB, free: 6.336 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2094, allocations: 85.91 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001868/0.2112, allocations: 0.6019 MB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2133, allocations: 1.428 MB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.2134, allocations: 0 / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2134, allocations: 3.938 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.314e-05/0.2134, allocations: 0 / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.2139, allocations: 147.4 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.214, allocations: 31.91 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.2141, allocations: 0 / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.2141, allocations: 23.92 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2142, allocations: 23.95 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2142, allocations: 7.938 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.2146, allocations: 243.5 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.2146, allocations: 7.969 kB / 0.7054 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2147, allocations: 15.98 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.215, allocations: 179.5 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.215, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.215, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.215, allocations: 0 / 0.7055 GB, free: 13.8 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.0005962/0.2156, allocations: 294 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2156, allocations: 8.031 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.2161, allocations: 68.8 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2162, allocations: 106.5 kB / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2162, allocations: 384 / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.2163, allocations: 8.375 kB / 0.706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.2166, allocations: 103.7 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2166, allocations: 0 / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2166, allocations: 3.938 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2166, allocations: 0 / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2169, allocations: 67.92 kB / 0.7062 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2171, allocations: 109.3 kB / 0.7063 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.2177, allocations: 130.5 kB / 0.7064 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2178, allocations: 48.91 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/0.2183, allocations: 71.91 kB / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2183, allocations: 34.56 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2183, allocations: 0 / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.00119/0.2195, allocations: 333 kB / 0.7069 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2195, allocations: 55.41 kB / 0.7069 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.2196, allocations: 101.8 kB / 0.707 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2196, allocations: 25.7 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.2197, allocations: 80.14 kB / 0.7071 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2197, allocations: 15.91 kB / 0.7071 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.2198, allocations: 21.7 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2199, allocations: 314.8 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2201, allocations: 40.03 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2203, allocations: 31.97 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2206, allocations: 76.8 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2206, allocations: 0 / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000372/0.2209, allocations: 113.9 kB / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.221, allocations: 10.44 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.221, allocations: 8 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.221, allocations: 3.938 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2212, allocations: 27.91 kB / 0.7077 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2212, allocations: 4 kB / 0.7078 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2213, allocations: 11.98 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2213, allocations: 0 / 0.7078 GB, free: 11.32 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.064e-05/0.2214, allocations: 113.8 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.2214, allocations: 7.891 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.2219, allocations: 137.3 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.2219, allocations: 0 / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2219, allocations: 0 / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2219, allocations: 3.938 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.222, allocations: 117.3 kB / 0.7081 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.222, allocations: 0 / 0.7081 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.2222, allocations: 23.92 kB / 0.7081 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2222, allocations: 8 kB / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2222, allocations: 7.922 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2222, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2222, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.2228, allocations: 177 kB / 0.7083 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.2228, allocations: 15.97 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2228, allocations: 3.938 kB / 0.7084 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.223, allocations: 12.05 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.223, allocations: 11.98 kB / 0.7084 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.223, allocations: 0 / 0.7084 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.2231, allocations: 83.28 kB / 0.7085 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2231, allocations: 0 / 0.7085 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002416/0.2233, allocations: 31.86 kB / 0.7085 GB, free: 10.52 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.0002123/0.2235, allocations: 123 kB / 0.7086 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.2239, allocations: 92.14 kB / 0.7087 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2239, allocations: 0 / 0.7087 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2241, allocations: 43.91 kB / 0.7087 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.2242, allocations: 4 kB / 0.7087 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.2249, allocations: 185.5 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.225, allocations: 71.19 kB / 0.709 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.225, allocations: 15.94 kB / 0.709 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.2251, allocations: 15.44 kB / 0.709 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2251, allocations: 0 / 0.709 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.003944/0.229, allocations: 1.187 MB / 0.7102 GB, free: 8.742 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 sys.exit(0), Time elapsed: 6.197533844038844] Failed to read output from testmodel.py, exit status != 0: 0.2367392461746931 0.252835899 0.034588796000000005 Calling exit ...