Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001368/0.001368, 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.001665/0.001665, allocations: 209.3 kB / 22.24 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.777 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.8879/0.8879, allocations: 134 MB / 446.4 MB, free: 9.91 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [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.002114/0.002114, allocations: 78.61 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1898, allocations: 85.9 MB / 0.7029 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.004084/0.1939, allocations: 1.76 MB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1953, allocations: 0.6943 MB / 0.7053 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.1954, allocations: 4 kB / 0.7053 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.1954, allocations: 7.875 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.1955, allocations: 19.78 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.1961, allocations: 178.6 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1963, allocations: 135.5 kB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1965, allocations: 41.55 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1967, allocations: 67.77 kB / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1968, allocations: 43.75 kB / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.1969, allocations: 16 kB / 0.7058 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.197, allocations: 51.97 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.1971, allocations: 35.84 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.1971, allocations: 47.72 kB / 0.7059 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1974, allocations: 151.4 kB / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1974, allocations: 0 / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1974, allocations: 0 / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.1974, allocations: 0 / 0.706 GB, free: 13.28 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008147/0.1983, allocations: 373.6 kB / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1983, allocations: 16.03 kB / 0.7064 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.1993, allocations: 120.7 kB / 0.7065 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1997, allocations: 159.6 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.1998, allocations: 119.4 kB / 0.7068 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1998, allocations: 11.94 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.2004, allocations: 219.3 kB / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2004, allocations: 0 / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2004, allocations: 4 kB / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2004, allocations: 0 / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.2011, allocations: 171.8 kB / 0.7072 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2021, allocations: 397.2 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2031, allocations: 218.3 kB / 0.7078 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.2035, allocations: 80.91 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2035, allocations: 0 / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2035, allocations: 38.56 kB / 0.7079 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.2035, allocations: 0 / 0.7079 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001032/0.2045, allocations: 269.2 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2046, allocations: 55.41 kB / 0.7082 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2047, allocations: 140.5 kB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2048, allocations: 29.7 kB / 0.7083 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.2048, allocations: 108.2 kB / 0.7084 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2049, allocations: 19.86 kB / 0.7085 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.2049, allocations: 21.7 kB / 0.7085 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2051, allocations: 322.8 kB / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.2054, allocations: 79.92 kB / 0.7089 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.2057, allocations: 94.48 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.2064, allocations: 166.6 kB / 0.7091 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2064, allocations: 0 / 0.7091 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006818/0.2071, allocations: 209.4 kB / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2071, allocations: 8 kB / 0.7093 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2071, allocations: 0 / 0.7093 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2071, allocations: 0 / 0.7093 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.2074, allocations: 35.95 kB / 0.7094 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2074, allocations: 0 / 0.7094 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2075, allocations: 27.91 kB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2076, allocations: 15.92 kB / 0.7094 GB, free: 9.602 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001144/0.2077, allocations: 117.8 kB / 0.7095 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.2077, allocations: 15.89 kB / 0.7095 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/0.2085, allocations: 202.2 kB / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2085, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2085, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2085, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.2087, allocations: 162 kB / 0.7099 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2087, allocations: 0 / 0.7099 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2089, allocations: 35.89 kB / 0.7099 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.2089, allocations: 7.922 kB / 0.7099 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2089, allocations: 0 / 0.7099 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2089, allocations: 7.938 kB / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2089, allocations: 0 / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.2097, allocations: 295.5 kB / 0.7102 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.2097, allocations: 3.953 kB / 0.7102 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.2097, allocations: 7.938 kB / 0.7102 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.21, allocations: 31.95 kB / 0.7102 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2101, allocations: 3.984 kB / 0.7103 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.2101, allocations: 11.98 kB / 0.7103 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.402e-05/0.2102, allocations: 105.7 kB / 0.7104 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2102, allocations: 4 kB / 0.7104 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002626/0.2104, allocations: 23.89 kB / 0.7104 GB, free: 8.523 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 (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.0001328/0.2106, allocations: 99.23 kB / 0.7105 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000685/0.2112, allocations: 163.8 kB / 0.7106 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2113, allocations: 0 / 0.7106 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.2116, allocations: 83.84 kB / 0.7107 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2119, allocations: 19.17 kB / 0.7107 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.2126, allocations: 251.7 kB / 0.711 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.2127, allocations: 89.19 kB / 0.7111 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.717e-05/0.2128, allocations: 15.98 kB / 0.7111 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.2128, allocations: 15.42 kB / 0.7111 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2128, allocations: 4 kB / 0.7111 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.004625/0.2174, allocations: 1.624 MB / 0.7127 GB, free: 6.137 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912458470091224] Failed to read output from testmodel.py, exit status != 0: 0.22532029263675213 0.24111553700000002 0.040563743 Calling exit ...