Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.00139/0.00139, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00171/0.00171, allocations: 214.1 kB / 22.24 MB, free: 4.855 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 8.062 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.9489/0.9489, allocations: 134 MB / 446.4 MB, free: 9.969 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") [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.002127/0.002127, allocations: 66.33 kB / 0.619 GB, free: 6.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2121, allocations: 85.9 MB / 0.7029 GB, free: 0.5703 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002142/0.2142, allocations: 0.5903 MB / 0.7035 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.2146, allocations: 48.11 kB / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.2146, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2146, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-06/0.2146, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2149, allocations: 23.91 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.2149, allocations: 4 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.215, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.215, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.215, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.215, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2151, allocations: 23.97 kB / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.2151, allocations: 0 / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.2151, allocations: 0 / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.02e-05/0.2152, allocations: 19.97 kB / 0.7036 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2152, allocations: 7.938 kB / 0.7036 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2152, allocations: 0 / 0.7036 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2152, allocations: 0 / 0.7036 GB, free: 15.86 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003401/0.2156, allocations: 245 kB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2156, allocations: 11.97 kB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.2159, allocations: 20.91 kB / 0.7039 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.216, allocations: 106.5 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.216, allocations: 384 / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.216, allocations: 384 / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2162, allocations: 42.19 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2162, allocations: 192 / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2162, allocations: 7.938 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2162, allocations: 0 / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.2163, allocations: 7.984 kB / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2164, allocations: 97.33 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.2165, allocations: 26.59 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.2166, allocations: 8.859 kB / 0.7041 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2166, allocations: 8.047 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2166, allocations: 34.5 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2166, allocations: 0 / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002455/0.2169, allocations: 49.58 kB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2169, allocations: 51.41 kB / 0.7043 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.217, allocations: 93.84 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.217, allocations: 25.7 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.217, allocations: 80.14 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.2171, allocations: 8.125 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2171, allocations: 13.72 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2173, allocations: 310.8 kB / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.2173, allocations: 7.984 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.2173, allocations: 4 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.2174, allocations: 16.78 kB / 0.7048 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2174, allocations: 4 kB / 0.7048 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001278/0.2176, allocations: 45.75 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2176, allocations: 4 kB / 0.7049 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2176, allocations: 0 / 0.7049 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2176, allocations: 0 / 0.7049 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.2177, allocations: 11.92 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2177, allocations: 0 / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.2177, allocations: 4 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2177, allocations: 3.984 kB / 0.7049 GB, free: 14.36 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 (1): * Single equations (assignments): 1 * 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 8.359e-05/0.2178, allocations: 109.8 kB / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.2178, allocations: 4.031 kB / 0.705 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.2179, allocations: 14.92 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2179, allocations: 3.938 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2179, allocations: 0 / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2179, allocations: 3.938 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/0.218, allocations: 93.33 kB / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.218, allocations: 4 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.218, allocations: 4 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.218, allocations: 3.984 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.218, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.218, allocations: 4 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.218, allocations: 3.938 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2182, allocations: 65.12 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.2182, allocations: 7.938 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2182, allocations: 0 / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.312e-05/0.2182, allocations: 3.984 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.2182, allocations: 3.938 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2182, allocations: 0 / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.2183, allocations: 79.28 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2183, allocations: 4.031 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001816/0.2185, allocations: 4 kB / 0.7053 GB, free: 13.89 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0001381/0.2186, allocations: 95.19 kB / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2187, allocations: 11.98 kB / 0.7054 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2188, allocations: 0 / 0.7054 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.2188, allocations: 7.984 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2189, allocations: 10.31 kB / 0.7054 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.2192, allocations: 85 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.2193, allocations: 59.22 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.2193, allocations: 0 / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.2194, allocations: 7.438 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2194, allocations: 0 / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.002421/0.2218, allocations: 225.7 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.868673097342253] Failed to read output from testmodel.py, exit status != 0: 0.22979375161230564 0.24518567100000002 0.026777926 Calling exit ...