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.001012/0.001012, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.0025, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.025/1.025, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2232/1.248, allocations: 53.66 MB / 242 MB, free: 2.621 MB / 234.7 MB " [Timeout remaining time 179] 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.0009544/0.0009544, allocations: 159.6 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.00249, allocations: 476.1 kB / 243.4 MB, free: 1.285 MB / 234.7 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.02493/0.02493, allocations: 6.653 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007383/0.03231, allocations: 2.66 MB / 253.5 MB, free: 7.422 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 254.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.625e-05, allocations: 2.312 kB / 254.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.004477/0.004513, allocations: 1.88 MB / 256.6 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.005609, allocations: 0.5142 MB / 257.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.005674, allocations: 7.938 kB / 257.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.534e-05/0.005739, allocations: 11.86 kB / 257.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.005823, allocations: 19.84 kB / 257.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.006019, allocations: 35.83 kB / 257.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.00617, allocations: 83.67 kB / 257.3 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.006339, allocations: 27.84 kB / 257.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.006551, allocations: 63.89 kB / 257.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.006653, allocations: 23.91 kB / 257.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.006682, allocations: 8 kB / 257.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.006797, allocations: 27.98 kB / 257.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.006825, allocations: 8 kB / 257.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.006862, allocations: 23.94 kB / 257.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.007075, allocations: 63.77 kB / 257.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.007091, allocations: 0 / 257.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007092, allocations: 0 / 257.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.007107, allocations: 0 / 257.5 MB, free: 3.32 MB / 250.7 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.000598/0.007705, allocations: 308.2 kB / 257.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.007763, allocations: 8.031 kB / 257.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.007816, allocations: 8.938 kB / 257.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.007972, allocations: 121.7 kB / 258 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.00799, allocations: 4.375 kB / 258 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.008009, allocations: 4.375 kB / 258 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.008226, allocations: 86.86 kB / 258.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.008239, allocations: 192 / 258.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.008251, allocations: 8.25 kB / 258.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.008263, allocations: 3.938 kB / 258.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.008316, allocations: 15.98 kB / 258.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.008885, allocations: 255.2 kB / 258.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.008969, allocations: 30.55 kB / 258.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.008994, allocations: 8.859 kB / 258.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.009022, allocations: 8.047 kB / 258.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.009055, allocations: 30.56 kB / 258.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/0.009057, allocations: 0 / 258.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002088/0.009265, allocations: 37.64 kB / 258.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.009304, allocations: 51.41 kB / 258.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.009426, allocations: 126.7 kB / 258.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.009444, allocations: 25.7 kB / 258.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.009512, allocations: 108.2 kB / 258.8 MB, free: 1.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.009523, allocations: 7.953 kB / 258.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.009568, allocations: 17.72 kB / 258.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.009692, allocations: 322.8 kB / 259.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.009709, allocations: 4 kB / 259.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.00974, allocations: 18.58 kB / 259.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.009797, allocations: 30.5 kB / 259.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0098, allocations: 0 / 259.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001098/0.00991, allocations: 57.62 kB / 259.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.009934, allocations: 6.656 kB / 259.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.009941, allocations: 0 / 259.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.00996, allocations: 0 / 259.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.0101, allocations: 15.98 kB / 259.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.0101, allocations: 0 / 259.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.01015, allocations: 7.953 kB / 259.2 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01016, allocations: 0 / 259.2 MB, free: 1.441 MB / 250.7 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.514e-05/0.01025, allocations: 117.7 kB / 259.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.01028, allocations: 8.078 kB / 259.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.01033, allocations: 11.62 kB / 259.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01033, allocations: 3.938 kB / 259.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01033, allocations: 0 / 259.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01034, allocations: 0 / 259.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.01048, allocations: 81.8 kB / 259.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01049, allocations: 4 kB / 259.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.01055, allocations: 7.984 kB / 259.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.01056, allocations: 0 / 259.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.01056, allocations: 4 kB / 259.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01057, allocations: 0 / 259.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01057, allocations: 4 kB / 259.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01057, allocations: 0 / 259.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.01072, allocations: 135.4 kB / 259.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01074, allocations: 4 kB / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.0108, allocations: 4 kB / 259.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.01084, allocations: 7.984 kB / 259.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.01085, allocations: 0 / 259.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.01088, allocations: 13.3 kB / 259.6 MB, free: 1 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 0 / 259.6 MB, free: 1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.01112, allocations: 23.88 kB / 259.7 MB, free: 0.9766 MB / 250.7 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.0001947/0.01132, allocations: 84.72 kB / 259.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.01142, allocations: 28.83 kB / 259.8 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.01143, allocations: 3.938 kB / 259.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.01146, allocations: 8.859 kB / 259.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01174, allocations: 79.27 kB / 259.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.01251, allocations: 175.5 kB / 260 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.01256, allocations: 55.36 kB / 260.1 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01259, allocations: 7.984 kB / 260.1 MB, free: 480 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.01266, allocations: 51.38 kB / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01266, allocations: 4 kB / 260.2 MB, free: 424 kB / 250.7 MB Notification: Performance of Templates: time 0.003637/0.0163, allocations: 0.7578 MB / 260.9 MB, free: 15.66 MB / 266.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7041882826015353]