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.001661/0.001661, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.442/1.442, allocations: 230.6 MB / 253.4 MB, free: 8.289 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.00176/0.00176, allocations: 217.6 kB / 310 MB, free: 3.117 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.04107/0.04107, allocations: 8.911 MB / 375.3 MB, free: 1.879 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.002874/0.002874, allocations: 83.88 kB / 0.4904 GB, free: 6.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3427, allocations: 55.6 MB / 0.5447 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002989/0.3457, allocations: 2.085 MB / 0.5468 GB, free: 25.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3472, allocations: 1.163 MB / 0.5479 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3474, allocations: 7 kB / 0.5479 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.3477, allocations: 116.7 kB / 0.548 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3481, allocations: 150.6 kB / 0.5482 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3483, allocations: 105.7 kB / 0.5483 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3486, allocations: 229.2 kB / 0.5485 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3487, allocations: 25.72 kB / 0.5485 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3488, allocations: 106.5 kB / 0.5486 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.349, allocations: 123 kB / 0.5487 GB, free: 24.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.349, allocations: 12.75 kB / 0.5487 GB, free: 24.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.3491, allocations: 57.27 kB / 0.5488 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.3492, allocations: 47.19 kB / 0.5488 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.3492, allocations: 95.84 kB / 0.5489 GB, free: 24.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.3495, allocations: 231 kB / 0.5491 GB, free: 24.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3495, allocations: 0 / 0.5491 GB, free: 24.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3495, allocations: 0 / 0.5491 GB, free: 24.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3495, allocations: 0 / 0.5491 GB, free: 24.28 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.0006487/0.3502, allocations: 452.4 kB / 0.5496 GB, free: 23.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3502, allocations: 9.219 kB / 0.5496 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.3503, allocations: 28.98 kB / 0.5496 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3506, allocations: 190 kB / 0.5498 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3506, allocations: 11.52 kB / 0.5498 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.3506, allocations: 17.94 kB / 0.5498 GB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3509, allocations: 140.9 kB / 0.55 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3509, allocations: 11.17 kB / 0.55 GB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3509, allocations: 4 kB / 0.55 GB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3509, allocations: 3.188 kB / 0.55 GB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.3511, allocations: 75.22 kB / 0.55 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.3518, allocations: 0.559 MB / 0.5506 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.352, allocations: 92.94 kB / 0.5507 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.352, allocations: 32.81 kB / 0.5507 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3521, allocations: 7.094 kB / 0.5507 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3522, allocations: 82.61 kB / 0.5508 GB, free: 22.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3522, allocations: 0 / 0.5508 GB, free: 22.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003415/0.3526, allocations: 153.6 kB / 0.5509 GB, free: 22.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3526, allocations: 51.41 kB / 0.551 GB, free: 22.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3528, allocations: 282.5 kB / 0.5513 GB, free: 22.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3528, allocations: 32.55 kB / 0.5513 GB, free: 22.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.3529, allocations: 147.7 kB / 0.5514 GB, free: 22.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3529, allocations: 37.38 kB / 0.5515 GB, free: 22.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3529, allocations: 30.39 kB / 0.5515 GB, free: 22.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.353, allocations: 339.2 kB / 0.5518 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.3531, allocations: 38.19 kB / 0.5519 GB, free: 22.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.3532, allocations: 69.64 kB / 0.5519 GB, free: 22.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3533, allocations: 102.5 kB / 0.552 GB, free: 22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3533, allocations: 0 / 0.552 GB, free: 22 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002129/0.3535, allocations: 145.5 kB / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3535, allocations: 5.969 kB / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3535, allocations: 3 kB / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.3536, allocations: 0 / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3537, allocations: 27.72 kB / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3537, allocations: 128 / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.3538, allocations: 17.95 kB / 0.5522 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3538, allocations: 10.66 kB / 0.5522 GB, free: 21.9 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.0001008/0.3539, allocations: 143.7 kB / 0.5524 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3539, allocations: 28.06 kB / 0.5524 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.3542, allocations: 130.9 kB / 0.5525 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3542, allocations: 0 / 0.5525 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3542, allocations: 4 kB / 0.5525 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3542, allocations: 10.08 kB / 0.5525 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3543, allocations: 210.7 kB / 0.5527 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3543, allocations: 0 / 0.5527 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3544, allocations: 20.84 kB / 0.5527 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3544, allocations: 0 / 0.5527 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3544, allocations: 3.281 kB / 0.5527 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3544, allocations: 0 / 0.5527 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3544, allocations: 0 / 0.5527 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3547, allocations: 200.8 kB / 0.5529 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.3548, allocations: 13.75 kB / 0.5529 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3548, allocations: 4 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.3549, allocations: 6.484 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3549, allocations: 6.25 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3549, allocations: 7.031 kB / 0.553 GB, free: 21.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.355, allocations: 210.5 kB / 0.5532 GB, free: 21.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 0.5532 GB, free: 21.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3553, allocations: 46.95 kB / 0.5532 GB, free: 21.23 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.00143/0.3567, allocations: 421.7 kB / 0.5536 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.357, allocations: 78.38 kB / 0.5537 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.357, allocations: 0 / 0.5537 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.357, allocations: 37.75 kB / 0.5537 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3574, allocations: 38.69 kB / 0.5538 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.3582, allocations: 0.5259 MB / 0.5543 GB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3583, allocations: 0.741 MB / 0.555 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.3584, allocations: 23.81 kB / 0.555 GB, free: 19.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3584, allocations: 0 / 0.555 GB, free: 19.9 MB / 382.1 MB Notification: Performance of Templates: time 0.004511/0.3629, allocations: 2.679 MB / 0.5576 GB, free: 19.55 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: 8.080239615170285] Failed to read output from testmodel.py, exit status != 0: 0.3716840739361942 0.38368139 0.031223364000000003 Calling exit ...