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.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.001746/0.001746, 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.002178/0.002178, allocations: 188.4 kB / 22.23 MB, free: 5.133 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.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.04 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 1.021/1.021, allocations: 134 MB / 440.3 MB, free: 300 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.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.48 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.195, allocations: 84.74 MB / 0.6935 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003208/0.1982, allocations: 1.783 MB / 0.6952 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1995, allocations: 0.6748 MB / 0.6959 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.1995, allocations: 0 / 0.6959 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.1996, allocations: 15.8 kB / 0.6959 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/0.1996, allocations: 15.81 kB / 0.6959 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.2002, allocations: 172.6 kB / 0.6961 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2004, allocations: 127.7 kB / 0.6962 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2005, allocations: 41.22 kB / 0.6962 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2007, allocations: 55.83 kB / 0.6963 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.2008, allocations: 47.77 kB / 0.6963 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2008, allocations: 12 kB / 0.6964 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2009, allocations: 47.95 kB / 0.6964 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.201, allocations: 31.91 kB / 0.6964 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.201, allocations: 63.59 kB / 0.6965 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2013, allocations: 143.5 kB / 0.6966 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2013, allocations: 0 / 0.6966 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2013, allocations: 0 / 0.6966 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.2013, allocations: 0 / 0.6966 GB, free: 5.805 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006605/0.2019, allocations: 373.6 kB / 0.697 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.202, allocations: 11.97 kB / 0.697 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.2029, allocations: 116.7 kB / 0.6971 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.203, allocations: 124.6 kB / 0.6972 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2031, allocations: 63.95 kB / 0.6973 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.2032, allocations: 12.38 kB / 0.6973 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.2037, allocations: 165.7 kB / 0.6975 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2037, allocations: 0 / 0.6975 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2038, allocations: 8 kB / 0.6975 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2038, allocations: 7.984 kB / 0.6975 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.2044, allocations: 147.8 kB / 0.6976 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2056, allocations: 464.7 kB / 0.6981 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2067, allocations: 218.3 kB / 0.6983 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.2071, allocations: 80.91 kB / 0.6983 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2071, allocations: 7.984 kB / 0.6983 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2071, allocations: 30.56 kB / 0.6984 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2071, allocations: 0 / 0.6984 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001129/0.2083, allocations: 265.4 kB / 0.6986 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2083, allocations: 59.33 kB / 0.6987 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2085, allocations: 133.8 kB / 0.6988 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2085, allocations: 25.7 kB / 0.6988 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.2086, allocations: 116.2 kB / 0.6989 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.2086, allocations: 15.83 kB / 0.699 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.2087, allocations: 33.7 kB / 0.699 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2088, allocations: 318.8 kB / 0.6993 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2091, allocations: 71.92 kB / 0.6994 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.2095, allocations: 98.48 kB / 0.6995 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.2101, allocations: 158.4 kB / 0.6996 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2101, allocations: 4 kB / 0.6996 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007541/0.2109, allocations: 205.3 kB / 0.6998 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2109, allocations: 10.81 kB / 0.6998 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2109, allocations: 0 / 0.6998 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2109, allocations: 8 kB / 0.6998 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2112, allocations: 39.95 kB / 0.6999 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2112, allocations: 0 / 0.6999 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2114, allocations: 23.95 kB / 0.6999 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2115, allocations: 4 kB / 0.6999 GB, free: 2.246 MB / 0.5137 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.0001189/0.2116, allocations: 113.8 kB / 0.7 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2116, allocations: 15.95 kB / 0.7 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007847/0.2124, allocations: 206.4 kB / 0.7002 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2124, allocations: 0 / 0.7002 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2124, allocations: 8.062 kB / 0.7002 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2124, allocations: 3.984 kB / 0.7002 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.2127, allocations: 213.2 kB / 0.7004 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2127, allocations: 0 / 0.7004 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.213, allocations: 35.94 kB / 0.7005 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.213, allocations: 0 / 0.7005 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.213, allocations: 11.92 kB / 0.7005 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.213, allocations: 0 / 0.7005 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.213, allocations: 0 / 0.7005 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.2138, allocations: 291.3 kB / 0.7008 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.2138, allocations: 7.953 kB / 0.7008 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2138, allocations: 7.938 kB / 0.7008 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.2141, allocations: 31.95 kB / 0.7008 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.2142, allocations: 7.984 kB / 0.7008 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2142, allocations: 7.984 kB / 0.7008 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.2143, allocations: 105.2 kB / 0.7009 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2143, allocations: 0 / 0.7009 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002779/0.2146, allocations: 23.94 kB / 0.7009 GB, free: 1.102 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 (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.0001524/0.2147, allocations: 95.25 kB / 0.701 GB, free: 1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007241/0.2154, allocations: 163.8 kB / 0.7012 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2154, allocations: 0 / 0.7012 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.2158, allocations: 88.03 kB / 0.7013 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2161, allocations: 11.94 kB / 0.7013 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.2168, allocations: 247.6 kB / 0.7015 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2172, allocations: 0.7041 MB / 0.7022 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.2173, allocations: 15.98 kB / 0.7022 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2173, allocations: 15.44 kB / 0.7022 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2173, allocations: 0 / 0.7022 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.004463/0.2218, allocations: 1.517 MB / 0.7037 GB, free: 14.2 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.989794120192528] Failed to read output from testmodel.py, exit status != 0: 0.22966403793543577 0.24569678999999994 0.041289618 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f96806257b0>