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.001688/0.001688, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 253.4 MB, free: 14.3 MB / 206.1 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.001816/0.001816, allocations: 212.6 kB / 310 MB, free: 3.098 MB / 238.1 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.04242/0.04242, allocations: 8.926 MB / 375.3 MB, free: 6.59 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 92.23 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1253, allocations: 55.61 MB / 0.5447 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003491/0.1288, allocations: 1.768 MB / 0.5464 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000993/0.1297, allocations: 0.4948 MB / 0.5469 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.1298, allocations: 4 kB / 0.5469 GB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.733e-05/0.1299, allocations: 7.922 kB / 0.5469 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.13, allocations: 27.78 kB / 0.5469 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1302, allocations: 27.91 kB / 0.5469 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1303, allocations: 83.66 kB / 0.547 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1305, allocations: 19.97 kB / 0.547 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.1306, allocations: 35.88 kB / 0.5471 GB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.1306, allocations: 35.78 kB / 0.5471 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1307, allocations: 8 kB / 0.5471 GB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1308, allocations: 23.98 kB / 0.5471 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.1308, allocations: 15.92 kB / 0.5471 GB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.1308, allocations: 31.88 kB / 0.5472 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.131, allocations: 99.61 kB / 0.5473 GB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.131, allocations: 0 / 0.5473 GB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.131, allocations: 0 / 0.5473 GB, free: 1.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.131, allocations: 0 / 0.5473 GB, free: 1.879 MB / 366.1 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.00058/0.1316, allocations: 314 kB / 0.5476 GB, free: 1.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1317, allocations: 11.98 kB / 0.5476 GB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1317, allocations: 12.89 kB / 0.5476 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1318, allocations: 126.4 kB / 0.5477 GB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1319, allocations: 4.375 kB / 0.5477 GB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1319, allocations: 8.375 kB / 0.5477 GB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1321, allocations: 89.95 kB / 0.5478 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1321, allocations: 0 / 0.5478 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1322, allocations: 7.938 kB / 0.5478 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1322, allocations: 0 / 0.5478 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.1324, allocations: 63.89 kB / 0.5479 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.133, allocations: 327.3 kB / 0.5482 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1332, allocations: 34.56 kB / 0.5482 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.1333, allocations: 32.83 kB / 0.5483 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1333, allocations: 0 / 0.5483 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1333, allocations: 30.56 kB / 0.5483 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1333, allocations: 0 / 0.5483 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004042/0.1337, allocations: 93.59 kB / 0.5484 GB, free: 0.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1338, allocations: 63.28 kB / 0.5484 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1339, allocations: 122 kB / 0.5485 GB, free: 432 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1339, allocations: 25.7 kB / 0.5486 GB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.134, allocations: 104 kB / 0.5487 GB, free: 292 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.134, allocations: 11.89 kB / 0.5487 GB, free: 280 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1341, allocations: 17.7 kB / 0.5487 GB, free: 256 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1342, allocations: 319 kB / 0.549 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.1343, allocations: 23.92 kB / 0.549 GB, free: 15.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.1344, allocations: 42.55 kB / 0.5491 GB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1346, allocations: 54.55 kB / 0.5491 GB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1346, allocations: 0 / 0.5491 GB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002179/0.1348, allocations: 89.55 kB / 0.5492 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1348, allocations: 7.984 kB / 0.5492 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1348, allocations: 0 / 0.5492 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1348, allocations: 4 kB / 0.5492 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.1349, allocations: 19.88 kB / 0.5492 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1349, allocations: 3.984 kB / 0.5492 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.135, allocations: 8 kB / 0.5492 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.135, allocations: 4.094 kB / 0.5492 GB, free: 15.65 MB / 382.1 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 9.364e-05/0.1351, allocations: 113.8 kB / 0.5494 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1351, allocations: 7.953 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.1352, allocations: 7.609 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1352, allocations: 3.938 kB / 0.5494 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1352, allocations: 0 / 0.5494 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1352, allocations: 0 / 0.5494 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1353, allocations: 121.3 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1353, allocations: 0 / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.1354, allocations: 8 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1354, allocations: 4 kB / 0.5495 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1354, allocations: 8 kB / 0.5495 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1354, allocations: 3.984 kB / 0.5495 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1354, allocations: 3.938 kB / 0.5495 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1357, allocations: 171.4 kB / 0.5497 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.1357, allocations: 11.98 kB / 0.5497 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1357, allocations: 3.984 kB / 0.5497 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.1358, allocations: 4 kB / 0.5497 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1358, allocations: 11.95 kB / 0.5497 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1358, allocations: 0 / 0.5497 GB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.515e-05/0.1359, allocations: 99.27 kB / 0.5498 GB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 0.5498 GB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1362, allocations: 19.94 kB / 0.5498 GB, free: 15 MB / 382.1 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.0001416/0.1363, allocations: 95.19 kB / 0.5499 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1365, allocations: 51.89 kB / 0.55 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1365, allocations: 4.188 kB / 0.55 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.1366, allocations: 19.98 kB / 0.55 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1369, allocations: 11.98 kB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.1373, allocations: 184.8 kB / 0.5502 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.1374, allocations: 71.33 kB / 0.5502 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1375, allocations: 11.44 kB / 0.5503 GB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1375, allocations: 8 kB / 0.5503 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Templates: time 0.002951/0.1404, allocations: 0.9774 MB / 0.5512 GB, free: 13.51 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4899225840345025] Failed to read output from testmodel.py, exit status != 0: 0.14839330688118935 0.40875236800000003 0.029414679000000003 Calling exit ...