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.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.001462/0.001462, allocations: 78.72 kB / 19.76 MB, free: 2.027 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.455/1.455, allocations: 177.2 MB / 200.1 MB, free: 8.332 MB / 190.1 MB " [Timeout remaining time 178] 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.001811/0.001811, allocations: 171.6 kB / 256.6 MB, free: 4.258 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04036/0.04036, allocations: 6.672 MB / 319.7 MB, free: 5.336 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002603/0.002603, allocations: 79.88 kB / 446.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1112, allocations: 55.58 MB / 0.4902 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003169/0.1144, allocations: 1.758 MB / 0.492 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000938/0.1153, allocations: 498.8 kB / 0.4924 GB, free: 460 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.1154, allocations: 4 kB / 0.4924 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.743e-05/0.1154, allocations: 11.86 kB / 0.4924 GB, free: 444 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.1155, allocations: 27.78 kB / 0.4925 GB, free: 416 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1157, allocations: 27.97 kB / 0.4925 GB, free: 388 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1159, allocations: 91.58 kB / 0.4926 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.116, allocations: 19.98 kB / 0.4926 GB, free: 276 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.1161, allocations: 35.86 kB / 0.4926 GB, free: 240 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.1162, allocations: 31.84 kB / 0.4927 GB, free: 208 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1162, allocations: 8 kB / 0.4927 GB, free: 200 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.22e-05/0.1162, allocations: 16 kB / 0.4927 GB, free: 184 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.1163, allocations: 19.92 kB / 0.4927 GB, free: 164 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.1163, allocations: 35.84 kB / 0.4927 GB, free: 128 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1165, allocations: 99.62 kB / 0.4928 GB, free: 28 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1165, allocations: 3.938 kB / 0.4928 GB, free: 24 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1165, allocations: 0 / 0.4928 GB, free: 24 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1165, allocations: 3.938 kB / 0.4929 GB, free: 20 kB / 414.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.0005259/0.117, allocations: 314 kB / 0.4931 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1171, allocations: 8.031 kB / 0.4932 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1171, allocations: 12.88 kB / 0.4932 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1172, allocations: 126.4 kB / 0.4933 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1173, allocations: 384 / 0.4933 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1173, allocations: 12.38 kB / 0.4933 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1175, allocations: 93.84 kB / 0.4934 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1175, allocations: 8 kB / 0.4934 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1175, allocations: 4 kB / 0.4934 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1176, allocations: 0 / 0.4934 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1178, allocations: 59.95 kB / 0.4935 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1184, allocations: 323.4 kB / 0.4938 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1186, allocations: 42.55 kB / 0.4938 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1187, allocations: 24.91 kB / 0.4938 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1187, allocations: 0 / 0.4938 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1187, allocations: 30.56 kB / 0.4939 GB, free: 14.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1187, allocations: 0 / 0.4939 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003855/0.1191, allocations: 101.6 kB / 0.494 GB, free: 14.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1192, allocations: 55.34 kB / 0.494 GB, free: 14.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1193, allocations: 125.8 kB / 0.4941 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1193, allocations: 29.7 kB / 0.4942 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1194, allocations: 108.1 kB / 0.4943 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.1194, allocations: 3.953 kB / 0.4943 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1194, allocations: 13.72 kB / 0.4943 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1196, allocations: 318.8 kB / 0.4946 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.1197, allocations: 19.98 kB / 0.4946 GB, free: 14.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1198, allocations: 38.59 kB / 0.4946 GB, free: 14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.12, allocations: 62.47 kB / 0.4947 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.12, allocations: 4 kB / 0.4947 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000249/0.1202, allocations: 93.61 kB / 0.4948 GB, free: 13.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1202, allocations: 6.656 kB / 0.4948 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1202, allocations: 0 / 0.4948 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1203, allocations: 4 kB / 0.4948 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.1204, allocations: 15.92 kB / 0.4948 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.1204, allocations: 0 / 0.4948 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.1204, allocations: 7.984 kB / 0.4948 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1204, allocations: 4 kB / 0.4948 GB, free: 13.8 MB / 430.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 8.994e-05/0.1205, allocations: 121.7 kB / 0.4949 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1205, allocations: 3.984 kB / 0.4949 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1206, allocations: 11.62 kB / 0.495 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1206, allocations: 3.938 kB / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1206, allocations: 0 / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1206, allocations: 0 / 0.495 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.1208, allocations: 125.3 kB / 0.4951 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1208, allocations: 0 / 0.4951 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.1208, allocations: 11.98 kB / 0.4951 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1208, allocations: 0 / 0.4951 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1208, allocations: 0 / 0.4951 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1208, allocations: 0 / 0.4951 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1208, allocations: 7.938 kB / 0.4951 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1211, allocations: 167.5 kB / 0.4953 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.1212, allocations: 4 kB / 0.4953 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1212, allocations: 7.875 kB / 0.4953 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.1213, allocations: 11.98 kB / 0.4953 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1213, allocations: 3.938 kB / 0.4953 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1213, allocations: 96 / 0.4953 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.1214, allocations: 99.27 kB / 0.4954 GB, free: 13.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1214, allocations: 4.031 kB / 0.4954 GB, free: 13.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1216, allocations: 19.89 kB / 0.4954 GB, free: 13.15 MB / 430.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.0001464/0.1218, allocations: 103.2 kB / 0.4955 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.122, allocations: 43.95 kB / 0.4955 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.122, allocations: 4 kB / 0.4956 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.1221, allocations: 23.92 kB / 0.4956 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1224, allocations: 20.22 kB / 0.4956 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1228, allocations: 158.9 kB / 0.4957 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.927e-05/0.1229, allocations: 75.33 kB / 0.4958 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.1229, allocations: 0 / 0.4958 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.123, allocations: 12.5 kB / 0.4958 GB, free: 12.66 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.123, allocations: 0 / 0.4958 GB, free: 12.66 MB / 430.1 MB Notification: Performance of Templates: time 0.003609/0.1266, allocations: 0.74 MB / 0.4966 GB, free: 11.93 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.796327435062267] Failed to read output from testmodel.py, exit status != 0: 0.13521619397215545 0.31344125700000003 0.19388042200000002 Calling exit ...