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.001016/0.001016, allocations: 85.27 kB / 19.87 MB, free: 4.617 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 1.057/1.057, allocations: 177.1 MB / 200.3 MB, free: 5.719 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.00105/0.00105, allocations: 164.5 kB / 256.9 MB, free: 12.99 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.03066/0.03066, allocations: 6.661 MB / 320.1 MB, free: 26.37 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.553e-06/1.553e-06, allocations: 0 / 392.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.616e-05, allocations: 9.766 kB / 392.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002107/0.002124, allocations: 1.822 MB / 393.9 MB, free: 472 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.002779, allocations: 0.5143 MB / 394.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.002821, allocations: 4 kB / 394.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.002851, allocations: 11.86 kB / 394.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.002917, allocations: 19.8 kB / 394.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.003046, allocations: 31.91 kB / 394.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.003117, allocations: 87.64 kB / 394.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.003183, allocations: 15.98 kB / 394.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.003256, allocations: 55.83 kB / 394.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.003297, allocations: 27.91 kB / 394.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.003311, allocations: 8 kB / 394.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.003352, allocations: 23.98 kB / 394.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.003367, allocations: 19.92 kB / 394.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.003391, allocations: 27.92 kB / 394.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.635e-05/0.003488, allocations: 71.73 kB / 394.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003489, allocations: 0 / 394.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00349, allocations: 0 / 394.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003493, allocations: 0 / 394.8 MB, free: 15.54 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.0003557/0.003849, allocations: 416.2 kB / 395.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.0039, allocations: 8.031 kB / 395.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.003937, allocations: 16.89 kB / 395.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.004013, allocations: 132.4 kB / 395.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.004023, allocations: 8.359 kB / 395.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.004032, allocations: 8.375 kB / 395.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.00414, allocations: 70.94 kB / 395.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.004145, allocations: 192 / 395.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.004152, allocations: 4.375 kB / 395.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004158, allocations: 3.938 kB / 395.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.004186, allocations: 15.98 kB / 395.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.004483, allocations: 351.2 kB / 395.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.004518, allocations: 39 kB / 395.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.004531, allocations: 11.67 kB / 395.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.004544, allocations: 0 / 395.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.004561, allocations: 41.45 kB / 395.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004561, allocations: 0 / 395.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 9.231e-05/0.004654, allocations: 37.66 kB / 395.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.004675, allocations: 51.41 kB / 396 MB, free: 14.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.004749, allocations: 189.8 kB / 396.2 MB, free: 14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.004757, allocations: 25.7 kB / 396.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.004814, allocations: 155 kB / 396.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.00482, allocations: 7.953 kB / 396.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.004847, allocations: 31.3 kB / 396.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.00495, allocations: 0.4883 MB / 396.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.004959, allocations: 4 kB / 396.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.004981, allocations: 35.05 kB / 396.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.005013, allocations: 31.05 kB / 397 MB, free: 13.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005015, allocations: 0 / 397 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.799e-05/0.005073, allocations: 61.53 kB / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.005083, allocations: 8 kB / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.005086, allocations: 0 / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005096, allocations: 0 / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.005141, allocations: 11.98 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.005144, allocations: 4 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.005163, allocations: 0 / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.005168, allocations: 4 kB / 397 MB, free: 13.08 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 5.866e-05/0.005226, allocations: 164.5 kB / 397.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.005242, allocations: 12.05 kB / 397.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.005267, allocations: 3.625 kB / 397.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.005268, allocations: 4 kB / 397.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00527, allocations: 0 / 397.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005273, allocations: 0 / 397.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.005371, allocations: 113.2 kB / 397.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.005372, allocations: 0 / 397.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.005389, allocations: 7.984 kB / 397.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00539, allocations: 4 kB / 397.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-06/0.005393, allocations: 0 / 397.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005394, allocations: 3.938 kB / 397.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005395, allocations: 4 kB / 397.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.339e-05/0.005478, allocations: 187.8 kB / 397.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-06/0.005487, allocations: 7.922 kB / 397.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.005494, allocations: 0 / 397.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.005524, allocations: 4 kB / 397.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.005544, allocations: 8.031 kB / 397.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.005548, allocations: 7.984 kB / 397.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.005587, allocations: 135.2 kB / 397.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005587, allocations: 0 / 397.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.005739, allocations: 15.95 kB / 397.7 MB, free: 12.36 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.541e-05/0.005825, allocations: 107.2 kB / 397.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.155e-05/0.005876, allocations: 19.62 kB / 397.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.005877, allocations: 0 / 397.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.005892, allocations: 15.67 kB / 397.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.00605, allocations: 15.94 kB / 397.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.006256, allocations: 169.2 kB / 398 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.006289, allocations: 63.34 kB / 398.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.826e-05/0.006307, allocations: 3.906 kB / 398.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.00635, allocations: 74.2 kB / 398.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00635, allocations: 0 / 398.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of Templates: time 0.002213/0.008563, allocations: 0.8242 MB / 399 MB, free: 11.02 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: 2.9548078970983624]