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.001269/0.001269, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.045/1.045, allocations: 177.1 MB / 200.3 MB, free: 5.363 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.001816/0.001816, allocations: 156.6 kB / 257 MB, free: 12.82 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.02773/0.02773, allocations: 6.663 MB / 266.9 MB, free: 3.074 MB / 250.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.144e-06/2.144e-06, allocations: 0 / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.92e-05, allocations: 6.25 kB / 285.7 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.1236/0.1236, allocations: 1.861 MB / 287.5 MB, free: 21.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.1243, allocations: 0.5133 MB / 288 MB, free: 21.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1243, allocations: 2.469 kB / 288.1 MB, free: 21.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.1244, allocations: 12.78 kB / 288.1 MB, free: 21.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.1245, allocations: 26.95 kB / 288.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1247, allocations: 32.47 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.1247, allocations: 80.78 kB / 288.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1248, allocations: 28.19 kB / 288.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1249, allocations: 52.94 kB / 288.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.125, allocations: 26.27 kB / 288.3 MB, free: 21.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.125, allocations: 8.219 kB / 288.3 MB, free: 21.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.1251, allocations: 20.45 kB / 288.3 MB, free: 21.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.1251, allocations: 22.33 kB / 288.4 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1251, allocations: 25.72 kB / 288.4 MB, free: 21.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1253, allocations: 74.06 kB / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1253, allocations: 0 / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1253, allocations: 0.5625 kB / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1253, allocations: 0.7188 kB / 288.5 MB, free: 20.98 MB / 266.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.0002908/0.1256, allocations: 283.9 kB / 288.7 MB, free: 20.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1256, allocations: 10.03 kB / 288.7 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1256, allocations: 13.77 kB / 288.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.1257, allocations: 120.5 kB / 288.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1257, allocations: 4.875 kB / 288.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1257, allocations: 12.66 kB / 288.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1258, allocations: 74.05 kB / 289 MB, free: 20.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1258, allocations: 0.9688 kB / 289 MB, free: 20.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1258, allocations: 6.344 kB / 289 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1258, allocations: 7.812 kB / 289 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.1259, allocations: 17.44 kB / 289 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.1262, allocations: 243.9 kB / 289.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.515e-05/0.1262, allocations: 20.52 kB / 289.3 MB, free: 20.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.1262, allocations: 11.75 kB / 289.3 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1262, allocations: 0.6562 kB / 289.3 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.1262, allocations: 41.89 kB / 289.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1262, allocations: 0 / 289.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.944e-05/0.1263, allocations: 38.22 kB / 289.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.1264, allocations: 56.62 kB / 289.4 MB, free: 20.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.1264, allocations: 123.8 kB / 289.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.1264, allocations: 26.36 kB / 289.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1265, allocations: 109.2 kB / 289.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.1265, allocations: 7.469 kB / 289.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1265, allocations: 13.88 kB / 289.7 MB, free: 19.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.1265, allocations: 322.9 kB / 290 MB, free: 19.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.1265, allocations: 3.625 kB / 290 MB, free: 19.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.1265, allocations: 24.19 kB / 290 MB, free: 19.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.1266, allocations: 30.72 kB / 290 MB, free: 19.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1266, allocations: 0.875 kB / 290 MB, free: 19.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.489e-05/0.1266, allocations: 48.59 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1266, allocations: 5.844 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1266, allocations: 2.172 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1267, allocations: 1.062 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.1267, allocations: 14.92 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.1267, allocations: 1.375 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.1267, allocations: 10.08 kB / 290.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1267, allocations: 0.9688 kB / 290.1 MB, free: 19.45 MB / 266.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.779e-05/0.1268, allocations: 112.6 kB / 290.2 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.1268, allocations: 9.266 kB / 290.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.1268, allocations: 6.906 kB / 290.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1268, allocations: 0.7031 kB / 290.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.1268, allocations: 0.7969 kB / 290.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1268, allocations: 3.844 kB / 290.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.1269, allocations: 79.78 kB / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1269, allocations: 0 / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1269, allocations: 7.484 kB / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.1269, allocations: 0 / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1269, allocations: 3.156 kB / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.1269, allocations: 1.094 kB / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1269, allocations: 0 / 290.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/0.127, allocations: 152.2 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.127, allocations: 3.375 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.127, allocations: 1.172 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.127, allocations: 3.844 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.1271, allocations: 2.141 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1271, allocations: 1.906 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.1271, allocations: 22.08 kB / 290.5 MB, free: 19.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 290.5 MB, free: 19.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.1272, allocations: 21.48 kB / 290.6 MB, free: 19.07 MB / 266.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.652e-05/0.1273, allocations: 85.62 kB / 290.6 MB, free: 19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.232e-05/0.1274, allocations: 21.39 kB / 290.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1274, allocations: 0.5625 kB / 290.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.1274, allocations: 14.34 kB / 290.7 MB, free: 18.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.1275, allocations: 11.64 kB / 290.7 MB, free: 18.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.1277, allocations: 162.4 kB / 290.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.1278, allocations: 64.98 kB / 290.9 MB, free: 18.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.1278, allocations: 4.188 kB / 290.9 MB, free: 18.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1278, allocations: 62.22 kB / 291 MB, free: 18.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1278, allocations: 1.219 kB / 291 MB, free: 18.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002441/0.1303, allocations: 0.7586 MB / 291.7 MB, free: 18.62 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.633977078832686]