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.0008857/0.0008857, allocations: 93.06 kB / 19.65 MB, free: 280 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.032/1.032, allocations: 177.1 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.001241/0.001241, allocations: 164.6 kB / 256.6 MB, free: 13.01 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.02401/0.02401, allocations: 6.669 MB / 319.8 MB, free: 26.54 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.443e-06/1.443e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.318e-05, allocations: 6.25 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002249/0.002272, allocations: 1.826 MB / 393.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.002969, allocations: 0.5143 MB / 394 MB, free: 248 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.003021, allocations: 0 / 394 MB, free: 248 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.00307, allocations: 11.86 kB / 394 MB, free: 236 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.003156, allocations: 23.84 kB / 394 MB, free: 212 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.003374, allocations: 39.83 kB / 394 MB, free: 172 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.003466, allocations: 83.66 kB / 394.1 MB, free: 88 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.003585, allocations: 19.97 kB / 394.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.00368, allocations: 47.91 kB / 394.2 MB, free: 20 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.003751, allocations: 27.91 kB / 394.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.00377, allocations: 8 kB / 394.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.003831, allocations: 19.98 kB / 394.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.003851, allocations: 19.92 kB / 394.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.003882, allocations: 27.92 kB / 394.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.004026, allocations: 79.67 kB / 394.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004029, allocations: 0 / 394.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00403, allocations: 0 / 394.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.004036, allocations: 4 kB / 394.4 MB, free: 15.84 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.0003821/0.004418, allocations: 412.3 kB / 394.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.004457, allocations: 8.031 kB / 394.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.004502, allocations: 12.89 kB / 394.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.004604, allocations: 124.5 kB / 394.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.004616, allocations: 4.375 kB / 394.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.004635, allocations: 8.375 kB / 394.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.004788, allocations: 86.86 kB / 395 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004797, allocations: 192 / 395 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.004809, allocations: 4.375 kB / 395 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.004818, allocations: 7.922 kB / 395 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.00487, allocations: 23.5 kB / 395 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.005324, allocations: 370.6 kB / 395.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.005386, allocations: 35.05 kB / 395.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.005413, allocations: 11.75 kB / 395.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.005434, allocations: 4 kB / 395.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.005455, allocations: 37.39 kB / 395.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.005456, allocations: 0 / 395.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.005608, allocations: 45.59 kB / 395.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.005635, allocations: 51.41 kB / 395.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.005727, allocations: 185.8 kB / 395.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005737, allocations: 25.7 kB / 395.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.005807, allocations: 154.8 kB / 395.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.005814, allocations: 3.953 kB / 396 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.005842, allocations: 23.38 kB / 396 MB, free: 14.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.005964, allocations: 0.4963 MB / 396.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.00598, allocations: 4 kB / 396.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.006009, allocations: 35.05 kB / 396.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.006054, allocations: 39 kB / 396.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006055, allocations: 0 / 396.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/0.006159, allocations: 57.58 kB / 396.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.006172, allocations: 11.28 kB / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006177, allocations: 4.094 kB / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00619, allocations: 0 / 396.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.006252, allocations: 8 kB / 396.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006258, allocations: 3.938 kB / 396.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.006284, allocations: 11.92 kB / 396.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.00629, allocations: 4 kB / 396.6 MB, free: 13.33 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.829e-05/0.006348, allocations: 156.6 kB / 396.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.006365, allocations: 7.953 kB / 396.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.006391, allocations: 3.625 kB / 396.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006393, allocations: 0 / 396.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.006397, allocations: 8 kB / 396.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006399, allocations: 0 / 396.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.996e-05/0.006499, allocations: 132.5 kB / 396.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.006502, allocations: 0 / 396.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.006525, allocations: 8 kB / 397 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006528, allocations: 4 kB / 397 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.006536, allocations: 3.984 kB / 397 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.006537, allocations: 3.984 kB / 397 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006538, allocations: 0 / 397 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.006633, allocations: 195.8 kB / 397.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.006643, allocations: 11.97 kB / 397.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.006653, allocations: 3.984 kB / 397.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.006683, allocations: 3.938 kB / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.006714, allocations: 8 kB / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.006716, allocations: 0 / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.006758, allocations: 131.2 kB / 397.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006758, allocations: 0 / 397.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.006922, allocations: 23.95 kB / 397.3 MB, free: 12.57 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.000107/0.007029, allocations: 103.1 kB / 397.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.007173, allocations: 27.62 kB / 397.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007175, allocations: 0 / 397.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.007194, allocations: 15.67 kB / 397.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.00741, allocations: 8 kB / 397.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.007741, allocations: 161 kB / 397.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.007781, allocations: 59.34 kB / 397.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.007806, allocations: 12.16 kB / 397.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.007834, allocations: 12.5 kB / 397.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007835, allocations: 0 / 397.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Templates: time 0.002419/0.01025, allocations: 0.7555 MB / 398.5 MB, free: 11.38 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.206667944788933]