Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.001353/0.001353, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00155/0.00155, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 251 MB, free: 13.05 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.9069/0.9069, allocations: 134 MB / 440.3 MB, free: 256 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 64.58 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2056, allocations: 84.73 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003473/0.2091, allocations: 1.451 MB / 0.6949 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2106, allocations: 0.8147 MB / 0.6957 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.2107, allocations: 0 / 0.6957 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.2107, allocations: 3.938 kB / 0.6957 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.2107, allocations: 4 kB / 0.6957 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.2113, allocations: 131.5 kB / 0.6958 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.467e-05/0.2114, allocations: 31.92 kB / 0.6959 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.2115, allocations: 4 kB / 0.6959 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.2116, allocations: 23.91 kB / 0.6959 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.2117, allocations: 23.91 kB / 0.6959 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2117, allocations: 0 / 0.6959 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.2123, allocations: 315.4 kB / 0.6962 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2123, allocations: 7.984 kB / 0.6962 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2123, allocations: 15.92 kB / 0.6962 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.2127, allocations: 199.5 kB / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2127, allocations: 0 / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2127, allocations: 0 / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2127, allocations: 0 / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006572/0.2134, allocations: 303.6 kB / 0.6967 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2135, allocations: 15.91 kB / 0.6967 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.214, allocations: 68.84 kB / 0.6968 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2141, allocations: 114.5 kB / 0.6969 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2142, allocations: 4.375 kB / 0.6969 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2142, allocations: 384 / 0.6969 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.2145, allocations: 85.94 kB / 0.697 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2145, allocations: 0 / 0.697 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2145, allocations: 4 kB / 0.697 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2145, allocations: 0 / 0.697 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.215, allocations: 95.89 kB / 0.6971 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.2156, allocations: 263.9 kB / 0.6973 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.2161, allocations: 94.56 kB / 0.6974 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.2163, allocations: 56.8 kB / 0.6975 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2163, allocations: 0 / 0.6975 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2163, allocations: 30.56 kB / 0.6975 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2163, allocations: 0 / 0.6975 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0008366/0.2172, allocations: 173.6 kB / 0.6977 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2172, allocations: 51.41 kB / 0.6977 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.2173, allocations: 101.9 kB / 0.6978 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2173, allocations: 25.7 kB / 0.6978 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.2174, allocations: 84.12 kB / 0.6979 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2174, allocations: 11.89 kB / 0.6979 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.2175, allocations: 17.75 kB / 0.698 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2176, allocations: 314.8 kB / 0.6983 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2178, allocations: 43.94 kB / 0.6983 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.2181, allocations: 51.95 kB / 0.6983 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2185, allocations: 92.77 kB / 0.6984 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2185, allocations: 0 / 0.6984 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005037/0.219, allocations: 125.5 kB / 0.6986 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.219, allocations: 4 kB / 0.6986 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.219, allocations: 3.984 kB / 0.6986 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2191, allocations: 4.188 kB / 0.6986 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2193, allocations: 24.02 kB / 0.6986 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.2193, allocations: 7.938 kB / 0.6986 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2194, allocations: 15.97 kB / 0.6986 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2194, allocations: 4 kB / 0.6986 GB, free: 3.539 MB / 0.5137 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 (2): * Single equations (assignments): 2 * 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.152e-05/0.2195, allocations: 113.8 kB / 0.6987 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2195, allocations: 4 kB / 0.6987 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.2196, allocations: 11.3 kB / 0.6987 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2196, allocations: 0 / 0.6987 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2196, allocations: 0 / 0.6987 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2196, allocations: 0 / 0.6987 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.2198, allocations: 140.7 kB / 0.6989 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2198, allocations: 0 / 0.6989 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.2199, allocations: 23.97 kB / 0.6989 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2199, allocations: 4 kB / 0.6989 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2199, allocations: 7.969 kB / 0.6989 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2199, allocations: 0 / 0.6989 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2199, allocations: 0 / 0.6989 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.2205, allocations: 227.3 kB / 0.6991 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.2205, allocations: 0 / 0.6991 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2205, allocations: 4 kB / 0.6991 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2207, allocations: 16.02 kB / 0.6991 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2207, allocations: 11.98 kB / 0.6992 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2207, allocations: 0 / 0.6992 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.2208, allocations: 79.28 kB / 0.6992 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2208, allocations: 0 / 0.6992 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002595/0.221, allocations: 15.94 kB / 0.6992 GB, free: 2.828 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000179/0.2212, allocations: 99.23 kB / 0.6993 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.2217, allocations: 103.8 kB / 0.6994 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2218, allocations: 4.062 kB / 0.6994 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.222, allocations: 47.95 kB / 0.6995 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2223, allocations: 3.938 kB / 0.6995 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.223, allocations: 157.5 kB / 0.6996 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.2234, allocations: 0.6768 MB / 0.7003 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.2234, allocations: 12 kB / 0.7003 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.2235, allocations: 15.38 kB / 0.7003 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.2235, allocations: 0 / 0.7003 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of Templates: time 0.004426/0.2279, allocations: 0.8308 MB / 0.7011 GB, free: 0.8281 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.851938868872821] Failed to read output from testmodel.py, exit status != 0: 0.2366613857448101 0.261584083 0.044260739 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3ea1a617b0>