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.0008148/0.0008148, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.8835/0.8835, allocations: 177.2 MB / 200.2 MB, free: 5.918 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.001055/0.001055, allocations: 160 kB / 256.7 MB, free: 13.33 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.02221/0.02221, allocations: 6.668 MB / 319.8 MB, free: 26.75 MB / 266.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.342e-06/1.342e-06, allocations: 0 / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.085e-05, allocations: 6.281 kB / 446.6 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.00159/0.00161, allocations: 1.755 MB / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005332/0.002144, allocations: 0.5103 MB / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.002191, allocations: 0 / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.002232, allocations: 11.86 kB / 448.9 MB, free: 34.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.0023, allocations: 23.78 kB / 448.9 MB, free: 34.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002489, allocations: 27.95 kB / 449 MB, free: 34.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.002566, allocations: 95.53 kB / 449.1 MB, free: 34.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.002674, allocations: 19.97 kB / 449.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.00275, allocations: 51.91 kB / 449.1 MB, free: 34.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.002795, allocations: 27.91 kB / 449.2 MB, free: 34.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002811, allocations: 8 kB / 449.2 MB, free: 34.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.002861, allocations: 16 kB / 449.2 MB, free: 34.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.002877, allocations: 19.97 kB / 449.2 MB, free: 34.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.002903, allocations: 27.86 kB / 449.2 MB, free: 34.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003026, allocations: 99.67 kB / 449.3 MB, free: 34.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003029, allocations: 7.984 kB / 449.3 MB, free: 34.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00303, allocations: 0 / 449.3 MB, free: 34.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.003034, allocations: 0 / 449.3 MB, free: 34.41 MB / 330.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.0003213/0.003355, allocations: 318 kB / 449.6 MB, free: 34.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003387, allocations: 12.03 kB / 449.7 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.003416, allocations: 8.891 kB / 449.7 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.00349, allocations: 113.7 kB / 449.8 MB, free: 33.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.003502, allocations: 12.31 kB / 449.8 MB, free: 33.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003513, allocations: 4.375 kB / 449.8 MB, free: 33.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.003647, allocations: 88.88 kB / 449.9 MB, free: 33.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.003655, allocations: 192 / 449.9 MB, free: 33.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003664, allocations: 4.375 kB / 449.9 MB, free: 33.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.00367, allocations: 11.94 kB / 449.9 MB, free: 33.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.003779, allocations: 59.95 kB / 450 MB, free: 33.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.004111, allocations: 327.4 kB / 450.3 MB, free: 33.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.004183, allocations: 38.5 kB / 450.3 MB, free: 33.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.004223, allocations: 32.83 kB / 450.3 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.004239, allocations: 4 kB / 450.3 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.004252, allocations: 34.56 kB / 450.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004252, allocations: 0 / 450.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.004455, allocations: 89.59 kB / 450.5 MB, free: 33.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.004473, allocations: 55.41 kB / 450.5 MB, free: 33.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.004523, allocations: 117.8 kB / 450.6 MB, free: 32.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-06/0.004528, allocations: 25.7 kB / 450.7 MB, free: 32.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.004561, allocations: 112.2 kB / 450.8 MB, free: 32.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-06/0.004566, allocations: 3.953 kB / 450.8 MB, free: 32.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.00459, allocations: 21.64 kB / 450.8 MB, free: 32.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.436e-05/0.004614, allocations: 322.8 kB / 451.1 MB, free: 32.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.004658, allocations: 19.98 kB / 451.1 MB, free: 32.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.004701, allocations: 38.55 kB / 451.2 MB, free: 32.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.766e-05/0.004779, allocations: 58.55 kB / 451.2 MB, free: 32.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004781, allocations: 0 / 451.2 MB, free: 32.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/0.004883, allocations: 93.53 kB / 451.3 MB, free: 32.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004895, allocations: 10.59 kB / 451.3 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.0049, allocations: 8 kB / 451.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.004912, allocations: 0 / 451.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.00497, allocations: 20.02 kB / 451.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.004974, allocations: 0 / 451.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.005001, allocations: 11.94 kB / 451.4 MB, free: 32.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005006, allocations: 0 / 451.4 MB, free: 32.19 MB / 330.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 3.559e-05/0.005042, allocations: 113.8 kB / 451.5 MB, free: 32.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.005054, allocations: 11.94 kB / 451.5 MB, free: 32.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.005074, allocations: 3.625 kB / 451.5 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.005076, allocations: 0 / 451.5 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.005079, allocations: 0 / 451.5 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005081, allocations: 4 kB / 451.5 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.781e-05/0.005149, allocations: 125.2 kB / 451.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00515, allocations: 0 / 451.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.005172, allocations: 12 kB / 451.6 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.005172, allocations: 3.938 kB / 451.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005178, allocations: 3.984 kB / 451.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005179, allocations: 0 / 451.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.00518, allocations: 7.984 kB / 451.6 MB, free: 31.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.005279, allocations: 167.4 kB / 451.8 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.005288, allocations: 15.92 kB / 451.8 MB, free: 31.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.005297, allocations: 0 / 451.8 MB, free: 31.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.005334, allocations: 4 kB / 451.8 MB, free: 31.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.005361, allocations: 3.984 kB / 451.8 MB, free: 31.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005363, allocations: 4 kB / 451.8 MB, free: 31.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.005386, allocations: 99.64 kB / 451.9 MB, free: 31.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005386, allocations: 0 / 451.9 MB, free: 31.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.00554, allocations: 16 kB / 452 MB, free: 31.55 MB / 330.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 8.789e-05/0.005628, allocations: 99.12 kB / 452 MB, free: 31.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.005744, allocations: 55.89 kB / 452.1 MB, free: 31.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005746, allocations: 0 / 452.1 MB, free: 31.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.005783, allocations: 19.98 kB / 452.1 MB, free: 31.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.005969, allocations: 7.984 kB / 452.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.006194, allocations: 182.5 kB / 452.3 MB, free: 31.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.006225, allocations: 79.52 kB / 452.4 MB, free: 31.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.006245, allocations: 16.48 kB / 452.4 MB, free: 31.04 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006246, allocations: 0 / 452.4 MB, free: 31.04 MB / 330.7 MB Notification: Performance of Templates: time 0.001506/0.007752, allocations: 0.9872 MB / 453.4 MB, free: 30.05 MB / 330.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.962733693420887] Failed to read output from testmodel.py, exit status != 0: 0.011532003059983253 0.01725183299999994 0.01299692399999994 Calling exit ...