Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.00206/0.00206, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.759/1.759, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.001811/0.001811, allocations: 221.6 kB / 309.2 MB, free: 3.152 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.04491/0.04491, allocations: 8.923 MB / 374.6 MB, free: 6.621 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.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [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.002513/0.002513, allocations: 89.75 kB / 0.4896 GB, free: 44.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1174, allocations: 55.6 MB / 0.5439 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.004317/0.1217, allocations: 1.997 MB / 0.5459 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.124, allocations: 1.076 MB / 0.5469 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1241, allocations: 4 kB / 0.5469 GB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.1246, allocations: 123.5 kB / 0.547 GB, free: 1.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.1251, allocations: 151.3 kB / 0.5472 GB, free: 1.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1254, allocations: 103.6 kB / 0.5473 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.1258, allocations: 235.2 kB / 0.5475 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1259, allocations: 29.73 kB / 0.5475 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1261, allocations: 91.69 kB / 0.5476 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1263, allocations: 115.6 kB / 0.5477 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1263, allocations: 15.94 kB / 0.5477 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1264, allocations: 55.97 kB / 0.5478 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.1265, allocations: 51.78 kB / 0.5478 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.1266, allocations: 67.59 kB / 0.5479 GB, free: 500 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.127, allocations: 239 kB / 0.5481 GB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.127, allocations: 4 kB / 0.5481 GB, free: 256 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.127, allocations: 0 / 0.5481 GB, free: 256 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.127, allocations: 0 / 0.5481 GB, free: 256 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008633/0.1279, allocations: 449.1 kB / 0.5486 GB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1279, allocations: 11.98 kB / 0.5486 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.128, allocations: 24.8 kB / 0.5486 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1284, allocations: 191.2 kB / 0.5488 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1284, allocations: 8.609 kB / 0.5488 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.1284, allocations: 16.12 kB / 0.5488 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1287, allocations: 149.2 kB / 0.5489 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1288, allocations: 3.953 kB / 0.549 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1288, allocations: 8 kB / 0.549 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1288, allocations: 0 / 0.549 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.129, allocations: 76.59 kB / 0.549 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.1299, allocations: 0.5071 MB / 0.5495 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1301, allocations: 94.55 kB / 0.5496 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.1302, allocations: 44.83 kB / 0.5497 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1303, allocations: 0 / 0.5497 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1305, allocations: 87.31 kB / 0.5497 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1305, allocations: 0 / 0.5497 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004342/0.1309, allocations: 153.4 kB / 0.5499 GB, free: 14.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.131, allocations: 55.41 kB / 0.5499 GB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1313, allocations: 284.9 kB / 0.5502 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1313, allocations: 33.64 kB / 0.5502 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1315, allocations: 148.2 kB / 0.5504 GB, free: 13.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1315, allocations: 43.67 kB / 0.5504 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1316, allocations: 33.7 kB / 0.5505 GB, free: 13.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1317, allocations: 330.8 kB / 0.5508 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.1318, allocations: 31.98 kB / 0.5508 GB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1319, allocations: 68.27 kB / 0.5509 GB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1321, allocations: 100.2 kB / 0.551 GB, free: 13.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1321, allocations: 3.938 kB / 0.551 GB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002788/0.1324, allocations: 153.4 kB / 0.5511 GB, free: 12.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1324, allocations: 11.94 kB / 0.5511 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1325, allocations: 4 kB / 0.5511 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1325, allocations: 4 kB / 0.5511 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1326, allocations: 23.98 kB / 0.5512 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1326, allocations: 7.938 kB / 0.5512 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.1327, allocations: 8 kB / 0.5512 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1327, allocations: 7.984 kB / 0.5512 GB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001475/0.1329, allocations: 151.7 kB / 0.5513 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1329, allocations: 23.86 kB / 0.5514 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.1332, allocations: 143.3 kB / 0.5515 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1332, allocations: 0 / 0.5515 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1332, allocations: 4 kB / 0.5515 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1332, allocations: 0 / 0.5515 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1334, allocations: 173.2 kB / 0.5517 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1334, allocations: 0 / 0.5517 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1335, allocations: 19.98 kB / 0.5517 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1335, allocations: 4.312 kB / 0.5517 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1336, allocations: 4 kB / 0.5517 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1336, allocations: 4 kB / 0.5517 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1336, allocations: 4 kB / 0.5517 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.134, allocations: 212.7 kB / 0.5519 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.134, allocations: 15.89 kB / 0.5519 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.134, allocations: 4 kB / 0.5519 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.1341, allocations: 4 kB / 0.5519 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1341, allocations: 7.984 kB / 0.5519 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1341, allocations: 4 kB / 0.5519 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1343, allocations: 212.5 kB / 0.5521 GB, free: 11.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1343, allocations: 64 / 0.5521 GB, free: 11.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1346, allocations: 51.86 kB / 0.5522 GB, free: 11.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001643/0.1362, allocations: 441.7 kB / 0.5526 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1365, allocations: 79.91 kB / 0.5527 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1365, allocations: 3.938 kB / 0.5527 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.1366, allocations: 39.92 kB / 0.5527 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1369, allocations: 43.12 kB / 0.5528 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.1379, allocations: 0.5131 MB / 0.5533 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.1381, allocations: 124.1 kB / 0.5534 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.1381, allocations: 21.42 kB / 0.5534 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1382, allocations: 19.42 kB / 0.5534 GB, free: 10.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1382, allocations: 0 / 0.5534 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Templates: time 0.006878/0.1451, allocations: 2.335 MB / 0.5557 GB, free: 8.379 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792165698483586] Failed to read output from testmodel.py, exit status != 0: 0.15379063226282597 0.41818797100000005 0.28844099300000003 Calling exit ...