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.001865/0.001865, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.608/1.608, allocations: 177.1 MB / 199.7 MB, free: 5.836 MB / 186.7 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.002142/0.002142, allocations: 164.6 kB / 256.3 MB, free: 13.18 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.04375/0.04375, allocations: 6.657 MB / 319.4 MB, free: 26.58 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 2.445e-06/2.445e-06, allocations: 0 / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.775e-05, allocations: 2.312 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003611/0.003649, allocations: 1.802 MB / 392.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00467, allocations: 0.5026 MB / 393.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.004729, allocations: 0 / 393.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.501e-05/0.004784, allocations: 19.86 kB / 393.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004885, allocations: 19.78 kB / 393.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.005098, allocations: 35.89 kB / 393.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.005234, allocations: 87.59 kB / 393.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.00535, allocations: 15.98 kB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.00548, allocations: 59.83 kB / 393.4 MB, free: 448 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.005551, allocations: 23.91 kB / 393.5 MB, free: 424 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.005577, allocations: 8 kB / 393.5 MB, free: 416 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.005657, allocations: 23.98 kB / 393.5 MB, free: 392 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.005696, allocations: 15.92 kB / 393.5 MB, free: 376 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.005745, allocations: 31.92 kB / 393.5 MB, free: 344 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005958, allocations: 103.7 kB / 393.6 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005961, allocations: 0 / 393.6 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.005962, allocations: 0 / 393.6 MB, free: 240 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005967, allocations: 0 / 393.6 MB, free: 240 kB / 314.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.0006736/0.006641, allocations: 415.9 kB / 394.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.006682, allocations: 8.031 kB / 394.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.006745, allocations: 16.89 kB / 394.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.006905, allocations: 120.5 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.006922, allocations: 4.375 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.006947, allocations: 16.31 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.007167, allocations: 82.16 kB / 394.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.007178, allocations: 192 / 394.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.007195, allocations: 8.375 kB / 394.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.007206, allocations: 7.938 kB / 394.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.007373, allocations: 47.97 kB / 394.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.008067, allocations: 390.6 kB / 394.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.008192, allocations: 47.05 kB / 394.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.008261, allocations: 19.75 kB / 394.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.008284, allocations: 0 / 394.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.008323, allocations: 49.3 kB / 394.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.008324, allocations: 0 / 394.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003237/0.008647, allocations: 69.64 kB / 394.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.008695, allocations: 59.39 kB / 395 MB, free: 14.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.008883, allocations: 185.9 kB / 395.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.008904, allocations: 25.83 kB / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.009036, allocations: 158.8 kB / 395.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.009047, allocations: 7.953 kB / 395.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.009092, allocations: 23.38 kB / 395.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.009387, allocations: 0.4922 MB / 395.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.009453, allocations: 19.98 kB / 395.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.009548, allocations: 39 kB / 395.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.009692, allocations: 63.03 kB / 396 MB, free: 13.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009694, allocations: 4 kB / 396 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001824/0.009876, allocations: 77.58 kB / 396.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.009896, allocations: 8 kB / 396.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0099, allocations: 0 / 396.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.009913, allocations: 3.938 kB / 396.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.009999, allocations: 15.92 kB / 396.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01, allocations: 0 / 396.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.01005, allocations: 7.938 kB / 396.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.01006, allocations: 8.094 kB / 396.1 MB, free: 13.54 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 0.0001232/0.01018, allocations: 164.6 kB / 396.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.01021, allocations: 3.953 kB / 396.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.01024, allocations: 11.62 kB / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01025, allocations: 0 / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01025, allocations: 0 / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01025, allocations: 0 / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.01045, allocations: 144.5 kB / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01045, allocations: 0 / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.0105, allocations: 8 kB / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01051, allocations: 4 kB / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01051, allocations: 0 / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01052, allocations: 3.984 kB / 396.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01052, allocations: 0 / 396.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01084, allocations: 215.8 kB / 396.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.01085, allocations: 3.953 kB / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.01087, allocations: 0 / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.01093, allocations: 8 kB / 396.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.01097, allocations: 3.984 kB / 396.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.01097, allocations: 4 kB / 396.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.01108, allocations: 147.2 kB / 396.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 396.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01131, allocations: 19.89 kB / 396.8 MB, free: 12.75 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 0.0001747/0.01149, allocations: 103.1 kB / 396.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.01169, allocations: 47.59 kB / 397 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.01169, allocations: 4 kB / 397 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.01177, allocations: 23.86 kB / 397 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01203, allocations: 12.06 kB / 397 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.01245, allocations: 173 kB / 397.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.01254, allocations: 75.08 kB / 397.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.01257, allocations: 7.938 kB / 397.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.0126, allocations: 12.5 kB / 397.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0126, allocations: 4 kB / 397.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of Templates: time 0.004016/0.01661, allocations: 0.7404 MB / 398 MB, free: 11.5 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.904015799053013]