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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 191.2 kB / 295.1 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03948/0.03948, allocations: 8.796 MB / 356 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002259/0.002259, allocations: 84.19 kB / 473.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.297, allocations: 51.56 MB / 0.5125 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003689/0.3008, allocations: 2.034 MB / 0.5145 GB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3025, allocations: 0.9808 MB / 0.5155 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3027, allocations: 3.938 kB / 0.5155 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.3031, allocations: 119.6 kB / 0.5156 GB, free: 9.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3034, allocations: 111.4 kB / 0.5157 GB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.3038, allocations: 142.2 kB / 0.5159 GB, free: 9.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3041, allocations: 215.2 kB / 0.5161 GB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3043, allocations: 45.64 kB / 0.5161 GB, free: 9.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3044, allocations: 91.67 kB / 0.5162 GB, free: 9.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3046, allocations: 111.6 kB / 0.5163 GB, free: 9.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3047, allocations: 16 kB / 0.5163 GB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3048, allocations: 51.98 kB / 0.5164 GB, free: 9.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.3049, allocations: 47.83 kB / 0.5164 GB, free: 9.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.305, allocations: 87.36 kB / 0.5165 GB, free: 9.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3054, allocations: 233.4 kB / 0.5167 GB, free: 8.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3054, allocations: 0 / 0.5167 GB, free: 8.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3054, allocations: 0 / 0.5167 GB, free: 8.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3054, allocations: 0 / 0.5167 GB, free: 8.832 MB / 334.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.0007934/0.3062, allocations: 0.514 MB / 0.5172 GB, free: 8.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3062, allocations: 8.031 kB / 0.5172 GB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.3063, allocations: 28.8 kB / 0.5172 GB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3067, allocations: 248.2 kB / 0.5175 GB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3067, allocations: 4.609 kB / 0.5175 GB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.3068, allocations: 16.12 kB / 0.5175 GB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3071, allocations: 141.4 kB / 0.5176 GB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3071, allocations: 4 kB / 0.5176 GB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3071, allocations: 8 kB / 0.5177 GB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.3071, allocations: 4 kB / 0.5177 GB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3073, allocations: 68.66 kB / 0.5177 GB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3082, allocations: 0.6226 MB / 0.5183 GB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3084, allocations: 94.64 kB / 0.5184 GB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.3085, allocations: 36.89 kB / 0.5185 GB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3085, allocations: 0 / 0.5185 GB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.3088, allocations: 87.3 kB / 0.5185 GB, free: 6.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 5.79e-06/0.3088, allocations: 0 / 0.5185 GB, free: 6.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003918/0.3092, allocations: 149.4 kB / 0.5187 GB, free: 6.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3092, allocations: 55.41 kB / 0.5187 GB, free: 6.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3095, allocations: 276 kB / 0.519 GB, free: 6.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3096, allocations: 29.7 kB / 0.519 GB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3097, allocations: 144.5 kB / 0.5192 GB, free: 6.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3098, allocations: 35.73 kB / 0.5192 GB, free: 6.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.3098, allocations: 29.7 kB / 0.5192 GB, free: 6.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.31, allocations: 334.8 kB / 0.5195 GB, free: 5.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.3101, allocations: 39.92 kB / 0.5196 GB, free: 5.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3102, allocations: 64.28 kB / 0.5196 GB, free: 5.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3104, allocations: 108.2 kB / 0.5197 GB, free: 5.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3104, allocations: 0 / 0.5197 GB, free: 5.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002741/0.3107, allocations: 149.4 kB / 0.5199 GB, free: 5.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3107, allocations: 4 kB / 0.5199 GB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3107, allocations: 0 / 0.5199 GB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3107, allocations: 4 kB / 0.5199 GB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3109, allocations: 35.92 kB / 0.5199 GB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3109, allocations: 0 / 0.5199 GB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.311, allocations: 16.02 kB / 0.5199 GB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.311, allocations: 11.98 kB / 0.52 GB, free: 5.219 MB / 334.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.0001514/0.3112, allocations: 145.7 kB / 0.5201 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3112, allocations: 15.91 kB / 0.5201 GB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.3113, allocations: 21.39 kB / 0.5201 GB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3113, allocations: 4 kB / 0.5201 GB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3113, allocations: 0 / 0.5201 GB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3113, allocations: 0 / 0.5201 GB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3115, allocations: 241.5 kB / 0.5204 GB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3116, allocations: 4 kB / 0.5204 GB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3117, allocations: 15.98 kB / 0.5204 GB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3117, allocations: 8 kB / 0.5204 GB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3117, allocations: 4 kB / 0.5204 GB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3117, allocations: 0 / 0.5204 GB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3117, allocations: 0 / 0.5204 GB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.3121, allocations: 192.8 kB / 0.5206 GB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3121, allocations: 89.05 kB / 0.5207 GB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3122, allocations: 8.062 kB / 0.5207 GB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.3122, allocations: 4 kB / 0.5207 GB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.3123, allocations: 7.984 kB / 0.5207 GB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3123, allocations: 4 kB / 0.5207 GB, free: 4.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.3125, allocations: 205.6 kB / 0.5209 GB, free: 4.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.3125, allocations: 0 / 0.5209 GB, free: 4.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3128, allocations: 43.83 kB / 0.5209 GB, free: 4.121 MB / 334.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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001462/0.3142, allocations: 423.7 kB / 0.5213 GB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3145, allocations: 87.89 kB / 0.5214 GB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3145, allocations: 0 / 0.5214 GB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.3146, allocations: 43.86 kB / 0.5215 GB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3149, allocations: 43.42 kB / 0.5215 GB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.3159, allocations: 0.5219 MB / 0.522 GB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3163, allocations: 0.7357 MB / 0.5227 GB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.3164, allocations: 23.42 kB / 0.5227 GB, free: 2.363 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3164, allocations: 0 / 0.5227 GB, free: 2.363 MB / 334.1 MB Notification: Performance of Templates: time 0.004968/0.3213, allocations: 2.592 MB / 0.5253 GB, free: 15.78 MB / 350.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: 7.153283107094467] Failed to read output from testmodel.py, exit status != 0: 0.32791157020255923 0.34219419700000003 0.03419151 Calling exit ...