Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.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.001609/0.001609, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.443/1.443, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] 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.001588/0.001588, allocations: 193 kB / 295 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0395/0.0395, allocations: 8.792 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002319/0.00232, allocations: 83.86 kB / 473.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.298, allocations: 51.55 MB / 0.5125 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003468/0.3015, allocations: 1.765 MB / 0.5143 GB, free: 11.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.3026, allocations: 0.5004 MB / 0.5148 GB, free: 10.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.3027, allocations: 1.156 kB / 0.5148 GB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.572e-05/0.3027, allocations: 14.2 kB / 0.5148 GB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.3028, allocations: 17.94 kB / 0.5148 GB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3031, allocations: 32.67 kB / 0.5148 GB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.3033, allocations: 84.75 kB / 0.5149 GB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.3035, allocations: 33.45 kB / 0.5149 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3036, allocations: 32.33 kB / 0.515 GB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.3037, allocations: 38.03 kB / 0.515 GB, free: 10.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3037, allocations: 12.36 kB / 0.515 GB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.3038, allocations: 20.98 kB / 0.515 GB, free: 10.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.3039, allocations: 14.34 kB / 0.515 GB, free: 10.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.3039, allocations: 39.39 kB / 0.5151 GB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3042, allocations: 104.5 kB / 0.5152 GB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3042, allocations: 0 / 0.5152 GB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3042, allocations: 0 / 0.5152 GB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3042, allocations: 5.062 kB / 0.5152 GB, free: 10.36 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006339/0.3048, allocations: 397.2 kB / 0.5156 GB, free: 9.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3049, allocations: 11.66 kB / 0.5156 GB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3049, allocations: 8.891 kB / 0.5156 GB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3051, allocations: 172.3 kB / 0.5157 GB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3051, allocations: 8.375 kB / 0.5158 GB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3052, allocations: 4.375 kB / 0.5158 GB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.3054, allocations: 101.9 kB / 0.5159 GB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3054, allocations: 0 / 0.5159 GB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3055, allocations: 0 / 0.5159 GB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3055, allocations: 7.984 kB / 0.5159 GB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.3057, allocations: 63.89 kB / 0.5159 GB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.3064, allocations: 399.5 kB / 0.5163 GB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3065, allocations: 42.5 kB / 0.5163 GB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.3066, allocations: 20.91 kB / 0.5164 GB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3067, allocations: 4 kB / 0.5164 GB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3067, allocations: 38.55 kB / 0.5164 GB, free: 8.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3067, allocations: 4 kB / 0.5164 GB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004006/0.3071, allocations: 89.53 kB / 0.5165 GB, free: 8.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3072, allocations: 59.39 kB / 0.5166 GB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3073, allocations: 117.8 kB / 0.5167 GB, free: 8.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3073, allocations: 25.7 kB / 0.5167 GB, free: 8.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.3074, allocations: 116 kB / 0.5168 GB, free: 8.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.3074, allocations: 8.078 kB / 0.5168 GB, free: 8.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3074, allocations: 13.72 kB / 0.5168 GB, free: 8.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3076, allocations: 322.8 kB / 0.5171 GB, free: 8.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.3077, allocations: 15.98 kB / 0.5171 GB, free: 8.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3078, allocations: 42.55 kB / 0.5172 GB, free: 8.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.308, allocations: 58.48 kB / 0.5172 GB, free: 8.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.308, allocations: 0 / 0.5172 GB, free: 8.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002309/0.3082, allocations: 89.59 kB / 0.5173 GB, free: 7.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3083, allocations: 4.094 kB / 0.5173 GB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3083, allocations: 4 kB / 0.5173 GB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3083, allocations: 3.938 kB / 0.5173 GB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3084, allocations: 15.98 kB / 0.5174 GB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3084, allocations: 0 / 0.5174 GB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3085, allocations: 11.94 kB / 0.5174 GB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3085, allocations: 4 kB / 0.5174 GB, free: 7.918 MB / 334.1 MB 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 (4): * Single equations (assignments): 4 * 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.203e-05/0.3086, allocations: 121.7 kB / 0.5175 GB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.3086, allocations: 0 / 0.5175 GB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3087, allocations: 23.45 kB / 0.5175 GB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3087, allocations: 0 / 0.5175 GB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3087, allocations: 0 / 0.5175 GB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3087, allocations: 3.938 kB / 0.5175 GB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3089, allocations: 177.6 kB / 0.5177 GB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3089, allocations: 0 / 0.5177 GB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.309, allocations: 19.92 kB / 0.5177 GB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.309, allocations: 0 / 0.5177 GB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.309, allocations: 3.938 kB / 0.5177 GB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.309, allocations: 0 / 0.5177 GB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.309, allocations: 8 kB / 0.5177 GB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3093, allocations: 163.5 kB / 0.5179 GB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3094, allocations: 85.06 kB / 0.5179 GB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3094, allocations: 3.938 kB / 0.518 GB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.3095, allocations: 7.984 kB / 0.518 GB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3095, allocations: 4.031 kB / 0.518 GB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3095, allocations: 0 / 0.518 GB, free: 7.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.3096, allocations: 99.27 kB / 0.5181 GB, free: 7.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3096, allocations: 0 / 0.5181 GB, free: 7.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3099, allocations: 15.94 kB / 0.5181 GB, free: 7.098 MB / 334.1 MB 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.0001561/0.31, allocations: 103.1 kB / 0.5182 GB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3103, allocations: 52.08 kB / 0.5182 GB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3103, allocations: 0 / 0.5182 GB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.3104, allocations: 19.98 kB / 0.5182 GB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3107, allocations: 29.16 kB / 0.5183 GB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.3112, allocations: 176.6 kB / 0.5184 GB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3115, allocations: 0.6924 MB / 0.5191 GB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3115, allocations: 15.42 kB / 0.5191 GB, free: 5.953 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3115, allocations: 0 / 0.5191 GB, free: 5.953 MB / 334.1 MB Notification: Performance of Templates: time 0.002899/0.3144, allocations: 0.9416 MB / 0.52 GB, free: 5.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.860887971939519] Failed to read output from testmodel.py, exit status != 0: 0.32104406086727977 0.335256879 0.028312407 Calling exit ...