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.001026/0.001026, allocations: 92.22 kB / 19.65 MB, free: 276 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.024/1.024, allocations: 177.2 MB / 200 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.001296/0.001296, allocations: 164.4 kB / 256.6 MB, free: 13 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.0297/0.0297, allocations: 6.666 MB / 319.8 MB, free: 26.53 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.963e-06/1.963e-06, allocations: 0 / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.166e-05, allocations: 2.312 kB / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003107/0.003138, allocations: 1.826 MB / 393.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.007203, allocations: 0.5181 MB / 394 MB, free: 240 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.007285, allocations: 4 kB / 394 MB, free: 236 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.007354, allocations: 11.92 kB / 394 MB, free: 224 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.007483, allocations: 23.78 kB / 394 MB, free: 200 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.007771, allocations: 27.91 kB / 394 MB, free: 172 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.007908, allocations: 91.58 kB / 394.1 MB, free: 80 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.008053, allocations: 19.92 kB / 394.1 MB, free: 60 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.00819, allocations: 51.91 kB / 394.2 MB, free: 8 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.008282, allocations: 31.89 kB / 394.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.008306, allocations: 8 kB / 394.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.008385, allocations: 19.98 kB / 394.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.008414, allocations: 23.92 kB / 394.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.008453, allocations: 23.92 kB / 394.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.008648, allocations: 75.73 kB / 394.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.008654, allocations: 3.938 kB / 394.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.008656, allocations: 0 / 394.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.872e-06/0.008662, allocations: 0 / 394.4 MB, free: 15.82 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.00357/0.01223, allocations: 412.3 kB / 394.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.0123, allocations: 12.03 kB / 394.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.01237, allocations: 8.891 kB / 394.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.01253, allocations: 128.5 kB / 394.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.01255, allocations: 8.375 kB / 394.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.01257, allocations: 8.375 kB / 394.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.01278, allocations: 82.86 kB / 395 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01279, allocations: 192 / 395 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.0128, allocations: 384 / 395 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.01282, allocations: 7.938 kB / 395 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.01288, allocations: 19.98 kB / 395 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.0135, allocations: 370.7 kB / 395.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.01358, allocations: 31.05 kB / 395.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.01361, allocations: 11.69 kB / 395.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.01363, allocations: 4.062 kB / 395.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.01366, allocations: 33.39 kB / 395.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.01367, allocations: 0 / 395.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002113/0.01388, allocations: 53.58 kB / 395.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01392, allocations: 51.41 kB / 395.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.01404, allocations: 177.9 kB / 395.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.01406, allocations: 25.7 kB / 395.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.01413, allocations: 150.8 kB / 395.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.01414, allocations: 8.078 kB / 395.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.01418, allocations: 27.36 kB / 396 MB, free: 14.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01432, allocations: 0.4922 MB / 396.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.01434, allocations: 3.938 kB / 396.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.01438, allocations: 35.05 kB / 396.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.01443, allocations: 39 kB / 396.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01443, allocations: 0 / 396.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.832e-05/0.01453, allocations: 61.67 kB / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01455, allocations: 8 kB / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01455, allocations: 0 / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01457, allocations: 4 kB / 396.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.01465, allocations: 4 kB / 396.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01465, allocations: 7.938 kB / 396.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.01469, allocations: 11.92 kB / 396.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.0147, allocations: 3.984 kB / 396.6 MB, free: 13.32 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 7.767e-05/0.01477, allocations: 160.6 kB / 396.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.0148, allocations: 3.953 kB / 396.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.01483, allocations: 11.62 kB / 396.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01483, allocations: 0 / 396.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01483, allocations: 0 / 396.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.01484, allocations: 0 / 396.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.018, allocations: 140.5 kB / 397 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01801, allocations: 0 / 397 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.01805, allocations: 7.984 kB / 397 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01805, allocations: 0 / 397 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.01806, allocations: 4 kB / 397 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01807, allocations: 4 kB / 397 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01807, allocations: 0 / 397 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.01823, allocations: 199.8 kB / 397.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.01824, allocations: 8.016 kB / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.01826, allocations: 0 / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.01831, allocations: 7.984 kB / 397.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.01836, allocations: 4 kB / 397.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.01836, allocations: 0 / 397.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.042e-05/0.01842, allocations: 139.2 kB / 397.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01842, allocations: 0 / 397.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.01867, allocations: 19.89 kB / 397.3 MB, free: 12.56 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.0001546/0.01882, allocations: 111.1 kB / 397.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01894, allocations: 23.61 kB / 397.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01894, allocations: 0 / 397.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.01896, allocations: 15.69 kB / 397.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01925, allocations: 4 kB / 397.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.01962, allocations: 165 kB / 397.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01966, allocations: 59.59 kB / 397.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.01969, allocations: 11.91 kB / 397.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.01972, allocations: 8.5 kB / 397.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01972, allocations: 0 / 397.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Templates: time 0.006333/0.02606, allocations: 0.817 MB / 398.5 MB, free: 11.31 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: 3.012765887193382]