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.001858/0.001858, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.531/1.531, allocations: 230.6 MB / 252.6 MB, free: 8.281 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.00185/0.00185, allocations: 220.1 kB / 309.2 MB, free: 3.172 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.0417/0.0417, allocations: 8.904 MB / 374.6 MB, free: 1.93 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.002739/0.002739, allocations: 83.88 kB / 0.4897 GB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.362, allocations: 55.6 MB / 0.544 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.00331/0.3654, allocations: 2.103 MB / 0.546 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.367, allocations: 1.151 MB / 0.5471 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.3673, allocations: 0 / 0.5471 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.3679, allocations: 120.7 kB / 0.5473 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.3684, allocations: 154.1 kB / 0.5474 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3687, allocations: 106.3 kB / 0.5475 GB, free: 24.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.369, allocations: 220.5 kB / 0.5477 GB, free: 24.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3692, allocations: 38.19 kB / 0.5477 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3694, allocations: 106.1 kB / 0.5478 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3696, allocations: 120.4 kB / 0.548 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3696, allocations: 12.5 kB / 0.548 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3697, allocations: 52.55 kB / 0.548 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.3698, allocations: 49.62 kB / 0.5481 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.3699, allocations: 85.2 kB / 0.5482 GB, free: 24.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.3702, allocations: 239.5 kB / 0.5484 GB, free: 24.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3702, allocations: 0 / 0.5484 GB, free: 24.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3702, allocations: 4 kB / 0.5484 GB, free: 24.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3702, allocations: 0 / 0.5484 GB, free: 24.3 MB / 382.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.0007288/0.371, allocations: 441.9 kB / 0.5488 GB, free: 23.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.371, allocations: 9.719 kB / 0.5488 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3711, allocations: 26.58 kB / 0.5488 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3714, allocations: 199.8 kB / 0.549 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3714, allocations: 3.672 kB / 0.549 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.3715, allocations: 21.72 kB / 0.5491 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3718, allocations: 139.9 kB / 0.5492 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3718, allocations: 3.953 kB / 0.5492 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3718, allocations: 7.312 kB / 0.5492 GB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3718, allocations: 7.281 kB / 0.5492 GB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.372, allocations: 70.05 kB / 0.5493 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.3728, allocations: 0.5657 MB / 0.5498 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.373, allocations: 90.67 kB / 0.5499 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.3731, allocations: 31.81 kB / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3731, allocations: 0 / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3733, allocations: 90.36 kB / 0.55 GB, free: 23.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.3733, allocations: 0 / 0.55 GB, free: 23.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003784/0.3737, allocations: 156.5 kB / 0.5502 GB, free: 22.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3737, allocations: 54.16 kB / 0.5502 GB, free: 22.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3739, allocations: 278.9 kB / 0.5505 GB, free: 22.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.374, allocations: 29.7 kB / 0.5505 GB, free: 22.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.374, allocations: 143.5 kB / 0.5507 GB, free: 22.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3741, allocations: 38.03 kB / 0.5507 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3741, allocations: 37.2 kB / 0.5507 GB, free: 22.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.3742, allocations: 340.3 kB / 0.5511 GB, free: 22.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.3743, allocations: 29.34 kB / 0.5511 GB, free: 22.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.3744, allocations: 68.31 kB / 0.5512 GB, free: 22.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3745, allocations: 100 kB / 0.5512 GB, free: 22.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3745, allocations: 7.359 kB / 0.5513 GB, free: 22.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002126/0.3747, allocations: 138.4 kB / 0.5514 GB, free: 21.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3747, allocations: 9.516 kB / 0.5514 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3747, allocations: 4.125 kB / 0.5514 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.3748, allocations: 3.062 kB / 0.5514 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3749, allocations: 34.88 kB / 0.5514 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3749, allocations: 0 / 0.5514 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.375, allocations: 17.83 kB / 0.5515 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.375, allocations: 3.094 kB / 0.5515 GB, free: 21.93 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.0001026/0.3751, allocations: 149.8 kB / 0.5516 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3751, allocations: 20.64 kB / 0.5516 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3754, allocations: 140.5 kB / 0.5518 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3754, allocations: 3.156 kB / 0.5518 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3754, allocations: 0 / 0.5518 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3754, allocations: 7.922 kB / 0.5518 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3756, allocations: 216.2 kB / 0.552 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3756, allocations: 7.562 kB / 0.552 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3757, allocations: 14.94 kB / 0.552 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3757, allocations: 0 / 0.552 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3757, allocations: 7.188 kB / 0.552 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3757, allocations: 3 kB / 0.552 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3757, allocations: 3.938 kB / 0.552 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.376, allocations: 190.9 kB / 0.5522 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.376, allocations: 17.67 kB / 0.5522 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.376, allocations: 0 / 0.5522 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.3761, allocations: 7.531 kB / 0.5522 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3761, allocations: 6.266 kB / 0.5522 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3761, allocations: 6.547 kB / 0.5522 GB, free: 21.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3763, allocations: 211.1 kB / 0.5524 GB, free: 21.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 0.5524 GB, free: 21.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3766, allocations: 50.06 kB / 0.5525 GB, free: 21.24 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 (10): * Single equations (assignments): 8 * 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.001556/0.3781, allocations: 402.9 kB / 0.5529 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3783, allocations: 84.69 kB / 0.5529 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3783, allocations: 0 / 0.5529 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.3784, allocations: 37.72 kB / 0.553 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3788, allocations: 49.25 kB / 0.553 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.3796, allocations: 0.4991 MB / 0.5535 GB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3797, allocations: 0.7385 MB / 0.5542 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.3798, allocations: 20.08 kB / 0.5542 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.3798, allocations: 20.62 kB / 0.5543 GB, free: 19.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3798, allocations: 0 / 0.5543 GB, free: 19.95 MB / 382.1 MB Notification: Performance of Templates: time 0.00556/0.3854, allocations: 2.123 MB / 0.5563 GB, free: 19.71 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.122615374159068] Failed to read output from testmodel.py, exit status != 0: 0.39511184790171683 0.407301242 0.03434048 Calling exit ...