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.001579/0.001579, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.421/1.421, allocations: 225.6 MB / 245.5 MB, free: 14.2 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.001482/0.001482, allocations: 203.4 kB / 300.5 MB, free: 9.824 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.04319/0.04319, allocations: 8.939 MB / 364.3 MB, free: 10.18 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.002489/0.002489, allocations: 85.77 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09196, allocations: 54.41 MB / 0.5289 GB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003741/0.0957, allocations: 2.046 MB / 0.5309 GB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.09756, allocations: 0.9906 MB / 0.5319 GB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.09772, allocations: 7.938 kB / 0.5319 GB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.0981, allocations: 115.5 kB / 0.532 GB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.09844, allocations: 119.4 kB / 0.5321 GB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.09887, allocations: 131.6 kB / 0.5322 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.09919, allocations: 215.3 kB / 0.5325 GB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.09937, allocations: 37.59 kB / 0.5325 GB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.09953, allocations: 103.6 kB / 0.5326 GB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.09972, allocations: 115.6 kB / 0.5327 GB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.09976, allocations: 12 kB / 0.5327 GB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.09989, allocations: 47.98 kB / 0.5328 GB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.09997, allocations: 47.77 kB / 0.5328 GB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.1001, allocations: 79.55 kB / 0.5329 GB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.1005, allocations: 238.9 kB / 0.5331 GB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1005, allocations: 4 kB / 0.5331 GB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1005, allocations: 0 / 0.5331 GB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1005, allocations: 0 / 0.5331 GB, free: 12.57 MB / 350.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.0008475/0.1013, allocations: 0.5061 MB / 0.5336 GB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1013, allocations: 8.031 kB / 0.5336 GB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.1014, allocations: 24.8 kB / 0.5336 GB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1018, allocations: 252.1 kB / 0.5339 GB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1018, allocations: 16.59 kB / 0.5339 GB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.1019, allocations: 16.12 kB / 0.5339 GB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.1022, allocations: 141.4 kB / 0.534 GB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1022, allocations: 0 / 0.534 GB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1022, allocations: 7.938 kB / 0.534 GB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1022, allocations: 4 kB / 0.5341 GB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.1024, allocations: 68.66 kB / 0.5341 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.1034, allocations: 0.6226 MB / 0.5347 GB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1036, allocations: 90.61 kB / 0.5348 GB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.1037, allocations: 32.84 kB / 0.5348 GB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1038, allocations: 0 / 0.5348 GB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1039, allocations: 91.31 kB / 0.5349 GB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1039, allocations: 0 / 0.5349 GB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004449/0.1044, allocations: 145.5 kB / 0.5351 GB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1044, allocations: 51.41 kB / 0.5351 GB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1047, allocations: 276 kB / 0.5354 GB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1048, allocations: 25.7 kB / 0.5354 GB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1049, allocations: 152.2 kB / 0.5355 GB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1049, allocations: 31.8 kB / 0.5356 GB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.105, allocations: 33.66 kB / 0.5356 GB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1051, allocations: 334.8 kB / 0.5359 GB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1052, allocations: 27.98 kB / 0.536 GB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1053, allocations: 68.28 kB / 0.536 GB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1055, allocations: 104.2 kB / 0.5361 GB, free: 9.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1056, allocations: 0 / 0.5361 GB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003207/0.1059, allocations: 157.3 kB / 0.5363 GB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1059, allocations: 6.781 kB / 0.5363 GB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1059, allocations: 4 kB / 0.5363 GB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1059, allocations: 4.375 kB / 0.5363 GB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1061, allocations: 35.92 kB / 0.5363 GB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1061, allocations: 0 / 0.5363 GB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.1062, allocations: 7.953 kB / 0.5363 GB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1062, allocations: 7.938 kB / 0.5363 GB, free: 8.973 MB / 350.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.0001392/0.1063, allocations: 157.6 kB / 0.5365 GB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1063, allocations: 15.91 kB / 0.5365 GB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1064, allocations: 25.39 kB / 0.5365 GB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1064, allocations: 4 kB / 0.5365 GB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1064, allocations: 0 / 0.5365 GB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1064, allocations: 0 / 0.5365 GB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.1067, allocations: 241.5 kB / 0.5368 GB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1067, allocations: 4 kB / 0.5368 GB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1068, allocations: 15.98 kB / 0.5368 GB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.1068, allocations: 4 kB / 0.5368 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1068, allocations: 0 / 0.5368 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1068, allocations: 0 / 0.5368 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1068, allocations: 0 / 0.5368 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1072, allocations: 204.8 kB / 0.537 GB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.1073, allocations: 89.05 kB / 0.5371 GB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1073, allocations: 0 / 0.5371 GB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.1073, allocations: 11.98 kB / 0.5371 GB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1074, allocations: 4 kB / 0.5371 GB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1074, allocations: 4 kB / 0.5371 GB, free: 8.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1076, allocations: 205.6 kB / 0.5373 GB, free: 7.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1076, allocations: 4.062 kB / 0.5373 GB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1079, allocations: 39.89 kB / 0.5373 GB, free: 7.859 MB / 350.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.001484/0.1094, allocations: 420.2 kB / 0.5377 GB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.1096, allocations: 79.89 kB / 0.5378 GB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1096, allocations: 0 / 0.5378 GB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.1097, allocations: 35.92 kB / 0.5378 GB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.11, allocations: 56.47 kB / 0.5379 GB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1111, allocations: 0.5179 MB / 0.5384 GB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1114, allocations: 0.7435 MB / 0.5391 GB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.1115, allocations: 19.42 kB / 0.5391 GB, free: 6.109 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1115, allocations: 0 / 0.5391 GB, free: 6.109 MB / 350.1 MB Notification: Performance of Templates: time 0.005136/0.1166, allocations: 2.591 MB / 0.5417 GB, free: 3.523 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.20613198983483] Failed to read output from testmodel.py, exit status != 0: 0.26917777117341757 0.143567374 0.040088307000000004 Calling exit ...