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.001462/0.001462, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.053/1.053, allocations: 177.2 MB / 200.5 MB, free: 5.531 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.001317/0.001317, allocations: 168.3 kB / 257 MB, free: 13.05 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.02427/0.02427, allocations: 6.656 MB / 320.1 MB, free: 26.59 MB / 266.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.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 391.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.357e-05, allocations: 10.11 kB / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002853/0.002877, allocations: 2.098 MB / 393.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004214, allocations: 1.095 MB / 394.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004318, allocations: 4 kB / 394.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.004637, allocations: 115.5 kB / 394.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.004968, allocations: 155.2 kB / 395.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.005157, allocations: 115.5 kB / 395.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.005384, allocations: 235 kB / 395.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.0055, allocations: 25.8 kB / 395.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.005626, allocations: 131.7 kB / 395.6 MB, free: 15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005759, allocations: 107.7 kB / 395.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.00578, allocations: 12 kB / 395.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.005862, allocations: 55.86 kB / 395.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.005922, allocations: 43.83 kB / 395.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.00598, allocations: 59.78 kB / 395.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.006208, allocations: 183.4 kB / 396 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00621, allocations: 0 / 396 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006211, allocations: 0 / 396 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.006215, allocations: 0 / 396 MB, free: 14.55 MB / 330.7 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.000523/0.006738, allocations: 0.5423 MB / 396.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.00677, allocations: 8.031 kB / 396.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.006827, allocations: 36.8 kB / 396.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.007018, allocations: 189.1 kB / 396.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.007038, allocations: 12.61 kB / 396.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.007065, allocations: 20.27 kB / 396.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.007249, allocations: 136.4 kB / 397 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.007262, allocations: 7.922 kB / 397 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007276, allocations: 4 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.007286, allocations: 7.984 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.007363, allocations: 44.66 kB / 397 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.00792, allocations: 0.6145 MB / 397.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.008046, allocations: 83.12 kB / 397.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.008086, allocations: 27.66 kB / 397.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.008097, allocations: 0 / 397.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.969e-05/0.008197, allocations: 84.97 kB / 397.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.008198, allocations: 0 / 397.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002155/0.008413, allocations: 125.4 kB / 398 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.008444, allocations: 55.41 kB / 398 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.008627, allocations: 288.3 kB / 398.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.008641, allocations: 29.7 kB / 398.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.008724, allocations: 198.9 kB / 398.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.008751, allocations: 43.72 kB / 398.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.00879, allocations: 35.31 kB / 398.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.008907, allocations: 0.504 MB / 399.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.008941, allocations: 19.98 kB / 399.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.008991, allocations: 62.42 kB / 399.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.009078, allocations: 94.3 kB / 399.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.009082, allocations: 8 kB / 399.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001388/0.00922, allocations: 129.3 kB / 399.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009232, allocations: 4 kB / 399.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.009239, allocations: 3.984 kB / 399.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.009251, allocations: 4 kB / 399.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.009353, allocations: 27.98 kB / 399.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.00936, allocations: 7.938 kB / 399.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.0094, allocations: 11.89 kB / 399.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.009408, allocations: 12.12 kB / 399.5 MB, free: 10.83 MB / 330.7 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 8.683e-05/0.009495, allocations: 164.6 kB / 399.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.009518, allocations: 23.84 kB / 399.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.009679, allocations: 123.4 kB / 399.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.009681, allocations: 0 / 399.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.009684, allocations: 0 / 399.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.009689, allocations: 3.984 kB / 399.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.009816, allocations: 192.5 kB / 400 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009818, allocations: 4 kB / 400 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.009889, allocations: 16 kB / 400 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009891, allocations: 4 kB / 400 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.009903, allocations: 11.92 kB / 400 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009904, allocations: 0 / 400 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009905, allocations: 0 / 400 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.0101, allocations: 179.7 kB / 400.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.01011, allocations: 15.86 kB / 400.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01013, allocations: 3.938 kB / 400.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.01016, allocations: 11.98 kB / 400.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.0102, allocations: 7.984 kB / 400.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01021, allocations: 32 / 400.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.844e-05/0.01031, allocations: 209.1 kB / 400.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01031, allocations: 0 / 400.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01051, allocations: 47.88 kB / 400.5 MB, free: 9.766 MB / 330.7 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.0007385/0.01125, allocations: 388.2 kB / 400.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01138, allocations: 71.53 kB / 400.9 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01138, allocations: 4 kB / 400.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.01143, allocations: 35.61 kB / 401 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01164, allocations: 38.7 kB / 401 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.01248, allocations: 450.4 kB / 401.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.01253, allocations: 83.81 kB / 401.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.01258, allocations: 17.47 kB / 401.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.01261, allocations: 24.5 kB / 401.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01261, allocations: 0 / 401.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of Templates: time 0.003899/0.01651, allocations: 2.157 MB / 403.7 MB, free: 6.59 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2339701370801777]