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.001371/0.001371, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.495/1.495, allocations: 230.6 MB / 253.4 MB, free: 8.273 MB / 206.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.001656/0.001656, allocations: 216.7 kB / 310 MB, free: 3.195 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.04105/0.04105, allocations: 8.915 MB / 375.3 MB, free: 1.949 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.002468/0.002468, allocations: 83.88 kB / 0.4904 GB, free: 6.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3402, allocations: 55.6 MB / 0.5447 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002626/0.3429, allocations: 1.817 MB / 0.5465 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.3436, allocations: 0.5367 MB / 0.547 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.3436, allocations: 2.406 kB / 0.547 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.3437, allocations: 11.11 kB / 0.547 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.3438, allocations: 22.28 kB / 0.5471 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.344, allocations: 32.5 kB / 0.5471 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.3441, allocations: 86.03 kB / 0.5472 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3442, allocations: 29.28 kB / 0.5472 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.3443, allocations: 32.59 kB / 0.5472 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.3443, allocations: 35.2 kB / 0.5473 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3443, allocations: 9.438 kB / 0.5473 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.3444, allocations: 24.61 kB / 0.5473 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3444, allocations: 15.34 kB / 0.5473 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.3445, allocations: 37 kB / 0.5473 GB, free: 25.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3446, allocations: 102.1 kB / 0.5474 GB, free: 25.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3446, allocations: 0 / 0.5474 GB, free: 25.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3446, allocations: 0 / 0.5474 GB, free: 25.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3446, allocations: 3.938 kB / 0.5474 GB, free: 25.23 MB / 382.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.0004376/0.3451, allocations: 315.4 kB / 0.5477 GB, free: 24.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3451, allocations: 13.59 kB / 0.5478 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3451, allocations: 11.42 kB / 0.5478 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3452, allocations: 113.8 kB / 0.5479 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3453, allocations: 3.594 kB / 0.5479 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3453, allocations: 7.656 kB / 0.5479 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3455, allocations: 95.48 kB / 0.548 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3455, allocations: 3.938 kB / 0.548 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3455, allocations: 3.281 kB / 0.548 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3455, allocations: 0 / 0.548 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.3457, allocations: 68.09 kB / 0.5481 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.3463, allocations: 365 kB / 0.5484 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3464, allocations: 38.02 kB / 0.5484 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.3465, allocations: 33.47 kB / 0.5485 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3465, allocations: 0 / 0.5485 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3465, allocations: 33.66 kB / 0.5485 GB, free: 24.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3465, allocations: 0 / 0.5485 GB, free: 24.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.3469, allocations: 100.8 kB / 0.5486 GB, free: 24.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.3469, allocations: 58.72 kB / 0.5487 GB, free: 24.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.347, allocations: 117.1 kB / 0.5488 GB, free: 24.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.347, allocations: 28.95 kB / 0.5488 GB, free: 24.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.3471, allocations: 110.1 kB / 0.5489 GB, free: 23.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.3471, allocations: 3.953 kB / 0.5489 GB, free: 23.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.3471, allocations: 16.91 kB / 0.5489 GB, free: 23.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.3472, allocations: 317.3 kB / 0.5492 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.3472, allocations: 20.2 kB / 0.5492 GB, free: 23.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.3473, allocations: 44.3 kB / 0.5493 GB, free: 23.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3475, allocations: 61.97 kB / 0.5493 GB, free: 23.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3475, allocations: 4 kB / 0.5493 GB, free: 23.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002232/0.3477, allocations: 89.45 kB / 0.5494 GB, free: 23.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3478, allocations: 2.938 kB / 0.5494 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3478, allocations: 2.875 kB / 0.5494 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3478, allocations: 4.031 kB / 0.5494 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.3479, allocations: 16.39 kB / 0.5495 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3479, allocations: 2.969 kB / 0.5495 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.348, allocations: 10.7 kB / 0.5495 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.348, allocations: 3.031 kB / 0.5495 GB, free: 23.46 MB / 382.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 6.651e-05/0.348, allocations: 116.8 kB / 0.5496 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3481, allocations: 6.984 kB / 0.5496 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.3481, allocations: 11.56 kB / 0.5496 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3481, allocations: 3.328 kB / 0.5496 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3481, allocations: 3.156 kB / 0.5496 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3481, allocations: 0 / 0.5496 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3483, allocations: 150.7 kB / 0.5497 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3483, allocations: 2.906 kB / 0.5498 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.3483, allocations: 13.42 kB / 0.5498 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3483, allocations: 0 / 0.5498 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3483, allocations: 3.938 kB / 0.5498 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3483, allocations: 3.469 kB / 0.5498 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3483, allocations: 0 / 0.5498 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3486, allocations: 165 kB / 0.5499 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3486, allocations: 7.188 kB / 0.5499 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3486, allocations: 7.188 kB / 0.5499 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3487, allocations: 7.219 kB / 0.5499 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3487, allocations: 7.406 kB / 0.55 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3487, allocations: 0 / 0.55 GB, free: 23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.3488, allocations: 95.38 kB / 0.55 GB, free: 22.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3488, allocations: 0 / 0.55 GB, free: 22.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.3491, allocations: 20.84 kB / 0.5501 GB, free: 22.91 MB / 382.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.0001158/0.3492, allocations: 114.6 kB / 0.5502 GB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3494, allocations: 43.84 kB / 0.5502 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3494, allocations: 0 / 0.5502 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3495, allocations: 17 kB / 0.5502 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3499, allocations: 18.3 kB / 0.5503 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.3503, allocations: 195.9 kB / 0.5504 GB, free: 22.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3504, allocations: 0.6846 MB / 0.5511 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.3504, allocations: 10.62 kB / 0.5511 GB, free: 21.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3504, allocations: 0 / 0.5511 GB, free: 21.91 MB / 382.1 MB Notification: Performance of Templates: time 0.002804/0.3532, allocations: 0.9536 MB / 0.552 GB, free: 21.82 MB / 382.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: 7.395804965868592] Failed to read output from testmodel.py, exit status != 0: 0.36167498817667365 0.37490231300000004 0.027107254 Calling exit ...