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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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 0.9432/0.9432, allocations: 177.2 MB / 200.5 MB, free: 5.547 MB / 186.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.001752/0.001752, allocations: 168.3 kB / 257 MB, free: 13.05 MB / 250.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.02899/0.02899, allocations: 6.66 MB / 320.1 MB, free: 11.71 MB / 298.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.543e-06/1.543e-06, allocations: 0 / 391.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.519e-05, allocations: 2.312 kB / 391.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002676/0.002701, allocations: 1.822 MB / 393.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.003398, allocations: 0.5104 MB / 394 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.00345, allocations: 0 / 394 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.003494, allocations: 15.8 kB / 394 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.003573, allocations: 19.84 kB / 394 MB, free: 1.699 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.00376, allocations: 27.91 kB / 394 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.003863, allocations: 95.58 kB / 394.1 MB, free: 1.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003968, allocations: 20 kB / 394.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.004064, allocations: 47.89 kB / 394.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.004121, allocations: 31.89 kB / 394.2 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.00414, allocations: 12 kB / 394.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006082/0.01022, allocations: 16 kB / 394.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.01025, allocations: 19.92 kB / 394.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.01028, allocations: 31.91 kB / 394.3 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.01044, allocations: 67.75 kB / 394.4 MB, free: 1.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01045, allocations: 3.984 kB / 394.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01045, allocations: 0 / 394.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.01045, allocations: 0 / 394.4 MB, free: 1.332 MB / 362.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.0004031/0.01086, allocations: 416.2 kB / 394.8 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.01089, allocations: 8.031 kB / 394.8 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.01094, allocations: 20.89 kB / 394.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.01105, allocations: 120.5 kB / 394.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.01106, allocations: 4.375 kB / 394.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.01107, allocations: 8.375 kB / 395 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.01122, allocations: 74.94 kB / 395 MB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01123, allocations: 4.188 kB / 395 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.01125, allocations: 4.359 kB / 395 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.01125, allocations: 7.938 kB / 395 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.01131, allocations: 19.98 kB / 395.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.01176, allocations: 374.7 kB / 395.4 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.01181, allocations: 31 kB / 395.5 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.01184, allocations: 11.75 kB / 395.5 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01185, allocations: 0 / 395.5 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01187, allocations: 33.39 kB / 395.5 MB, free: 80 kB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.01187, allocations: 0 / 395.5 MB, free: 80 kB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.01203, allocations: 49.64 kB / 395.5 MB, free: 24 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.01206, allocations: 51.41 kB / 395.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.01217, allocations: 193.7 kB / 395.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.01218, allocations: 29.83 kB / 395.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.01225, allocations: 154.8 kB / 396 MB, free: 15.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.01226, allocations: 11.95 kB / 396 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.01229, allocations: 19.38 kB / 396 MB, free: 15.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.0124, allocations: 0.4883 MB / 396.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.01242, allocations: 7.984 kB / 396.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.01245, allocations: 31.06 kB / 396.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.0125, allocations: 39 kB / 396.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0125, allocations: 0 / 396.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.616e-05/0.01259, allocations: 57.62 kB / 396.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.0126, allocations: 7.438 kB / 396.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01261, allocations: 4 kB / 396.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01262, allocations: 0 / 396.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.01268, allocations: 11.98 kB / 396.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01269, allocations: 0 / 396.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.01272, allocations: 7.938 kB / 396.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.01272, allocations: 0 / 396.7 MB, free: 14.83 MB / 378.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 6.854e-05/0.01279, allocations: 164.7 kB / 396.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01282, allocations: 7.953 kB / 396.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.01284, allocations: 7.609 kB / 396.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01284, allocations: 0 / 396.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01285, allocations: 0 / 396.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01285, allocations: 96 / 396.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.01297, allocations: 140.5 kB / 397 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01297, allocations: 3.984 kB / 397 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006035/0.01901, allocations: 7.938 kB / 397 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01901, allocations: 4 kB / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.01902, allocations: 0 / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01902, allocations: 4 kB / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01902, allocations: 0 / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.01914, allocations: 195.8 kB / 397.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.01915, allocations: 3.938 kB / 397.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01916, allocations: 4 kB / 397.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.01921, allocations: 11.94 kB / 397.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.01924, allocations: 3.984 kB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.01924, allocations: 4 kB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.01929, allocations: 135.2 kB / 397.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01929, allocations: 0 / 397.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.01952, allocations: 19.98 kB / 397.4 MB, free: 14.06 MB / 378.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.000117/0.01964, allocations: 107.1 kB / 397.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.01972, allocations: 23.67 kB / 397.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01972, allocations: 0 / 397.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.01974, allocations: 15.69 kB / 397.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01999, allocations: 4 kB / 397.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.0203, allocations: 165.2 kB / 397.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.02033, allocations: 59.34 kB / 397.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.02036, allocations: 4 kB / 397.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.02038, allocations: 12.5 kB / 397.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02038, allocations: 0 / 397.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Templates: time 0.005578/0.02596, allocations: 0.7573 MB / 398.5 MB, free: 12.86 MB / 378.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.962733299937099]