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.001002/0.001002, allocations: 97.06 kB / 19.65 MB, free: 272 kB / 13.93 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 0.9934/0.9934, allocations: 177.1 MB / 200 MB, free: 5.844 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.001372/0.001372, allocations: 170.6 kB / 256.6 MB, free: 13.14 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.02312/0.02312, allocations: 6.663 MB / 319.8 MB, free: 26.52 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 2.304e-06/2.304e-06, allocations: 0 / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.042e-05, allocations: 2.312 kB / 391.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003724/0.003754, allocations: 2.101 MB / 393.7 MB, free: 484 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.005594, allocations: 1.099 MB / 394.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.005731, allocations: 4 kB / 394.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.006076, allocations: 123.4 kB / 394.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.006514, allocations: 151.3 kB / 395.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.006788, allocations: 115.4 kB / 395.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.007069, allocations: 239 kB / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.00718, allocations: 21.81 kB / 395.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.007325, allocations: 127.7 kB / 395.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.007474, allocations: 103.8 kB / 395.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.007497, allocations: 12 kB / 395.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.007596, allocations: 55.91 kB / 395.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.007661, allocations: 55.77 kB / 395.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.007718, allocations: 47.86 kB / 395.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.00798, allocations: 183.2 kB / 396 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.007984, allocations: 4 kB / 396 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.007985, allocations: 0 / 396 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007991, allocations: 0 / 396 MB, free: 14.15 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.0006714/0.008662, allocations: 0.5385 MB / 396.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.008705, allocations: 12.03 kB / 396.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.008782, allocations: 36.73 kB / 396.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.009027, allocations: 193.1 kB / 396.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.009051, allocations: 8.609 kB / 396.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.009079, allocations: 16.33 kB / 396.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.009324, allocations: 152.3 kB / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.009349, allocations: 3.938 kB / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.009363, allocations: 4 kB / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.009374, allocations: 0 / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.009459, allocations: 48.66 kB / 397 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.01008, allocations: 0.6145 MB / 397.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.01021, allocations: 87.12 kB / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.01025, allocations: 31.67 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.01026, allocations: 7.938 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.01039, allocations: 80.97 kB / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.01039, allocations: 0 / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.01062, allocations: 121.5 kB / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01065, allocations: 55.41 kB / 398 MB, free: 11.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.01082, allocations: 288.3 kB / 398.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01083, allocations: 33.64 kB / 398.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.01092, allocations: 202.9 kB / 398.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.01095, allocations: 31.75 kB / 398.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.01099, allocations: 39.36 kB / 398.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.01112, allocations: 0.5001 MB / 399.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.01116, allocations: 19.98 kB / 399.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.01122, allocations: 70.34 kB / 399.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.01134, allocations: 86.38 kB / 399.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01135, allocations: 0 / 399.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001706/0.01152, allocations: 137.3 kB / 399.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01153, allocations: 4 kB / 399.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.01154, allocations: 7.938 kB / 399.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01155, allocations: 0 / 399.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01168, allocations: 27.98 kB / 399.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01168, allocations: 0 / 399.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.01174, allocations: 19.88 kB / 399.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.01175, allocations: 4 kB / 399.5 MB, free: 10.43 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 9.664e-05/0.01184, allocations: 172.6 kB / 399.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.01187, allocations: 23.84 kB / 399.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.01206, allocations: 119.5 kB / 399.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.01207, allocations: 4 kB / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01207, allocations: 3.938 kB / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01208, allocations: 0 / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01223, allocations: 192.5 kB / 400 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01223, allocations: 0 / 400 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.01231, allocations: 19.98 kB / 400 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01231, allocations: 4 kB / 400 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01233, allocations: 15.88 kB / 400 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01233, allocations: 0 / 400 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01233, allocations: 0 / 400 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.01253, allocations: 168.3 kB / 400.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.01255, allocations: 19.84 kB / 400.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.01257, allocations: 11.88 kB / 400.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.0126, allocations: 0 / 400.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.01263, allocations: 11.98 kB / 400.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.01264, allocations: 4 kB / 400.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.01274, allocations: 209.1 kB / 400.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01274, allocations: 4.031 kB / 400.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.01292, allocations: 39.89 kB / 400.5 MB, free: 9.355 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.0008502/0.01377, allocations: 380.8 kB / 400.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.01393, allocations: 71.59 kB / 400.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01393, allocations: 0 / 400.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.01399, allocations: 43.59 kB / 401 MB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01425, allocations: 44.47 kB / 401 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.01523, allocations: 450.4 kB / 401.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.01528, allocations: 79.81 kB / 401.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.01535, allocations: 17.47 kB / 401.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.01539, allocations: 24.44 kB / 401.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01539, allocations: 0 / 401.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of Templates: time 0.004626/0.02002, allocations: 2.296 MB / 403.9 MB, free: 6.059 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.2915263338945806]