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.001671/0.001671, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.527/1.527, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001677/0.001677, allocations: 221.1 kB / 310 MB, free: 3.043 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.04192/0.04192, allocations: 8.931 MB / 375.3 MB, free: 6.555 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.002507/0.002507, allocations: 83.88 kB / 0.4903 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.09126, allocations: 55.62 MB / 0.5447 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003693/0.09496, allocations: 1.991 MB / 0.5466 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.09694, allocations: 1.072 MB / 0.5476 GB, free: 1.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.09705, allocations: 0 / 0.5476 GB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.09742, allocations: 119.5 kB / 0.5478 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.09784, allocations: 159.2 kB / 0.5479 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.0981, allocations: 99.66 kB / 0.548 GB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.0984, allocations: 231.2 kB / 0.5482 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.09854, allocations: 36.59 kB / 0.5483 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.09867, allocations: 95.64 kB / 0.5484 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.09888, allocations: 119.5 kB / 0.5485 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.09891, allocations: 12 kB / 0.5485 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.09902, allocations: 55.98 kB / 0.5485 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.0991, allocations: 47.84 kB / 0.5486 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.09919, allocations: 71.58 kB / 0.5486 GB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.09953, allocations: 235 kB / 0.5489 GB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09953, allocations: 0 / 0.5489 GB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09954, allocations: 0 / 0.5489 GB, free: 204 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.09954, allocations: 0 / 0.5489 GB, free: 204 kB / 366.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.0007936/0.1003, allocations: 449.2 kB / 0.5493 GB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1004, allocations: 15.97 kB / 0.5493 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.1004, allocations: 28.73 kB / 0.5493 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1008, allocations: 191.1 kB / 0.5495 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1008, allocations: 8.609 kB / 0.5495 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1008, allocations: 16.12 kB / 0.5495 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1011, allocations: 145.4 kB / 0.5497 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1011, allocations: 7.938 kB / 0.5497 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1012, allocations: 8 kB / 0.5497 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1012, allocations: 0 / 0.5497 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1013, allocations: 80.53 kB / 0.5498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/0.1022, allocations: 0.5188 MB / 0.5503 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1024, allocations: 98.5 kB / 0.5504 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.1025, allocations: 32.89 kB / 0.5504 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1025, allocations: 0 / 0.5504 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.1027, allocations: 87.36 kB / 0.5505 GB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1027, allocations: 0 / 0.5505 GB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004019/0.1031, allocations: 149.5 kB / 0.5506 GB, free: 14.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1031, allocations: 55.41 kB / 0.5507 GB, free: 14.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1035, allocations: 292.9 kB / 0.551 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1035, allocations: 25.7 kB / 0.551 GB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1036, allocations: 148.2 kB / 0.5511 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1037, allocations: 39.69 kB / 0.5512 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1037, allocations: 29.7 kB / 0.5512 GB, free: 13.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1039, allocations: 334.8 kB / 0.5515 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.104, allocations: 31.97 kB / 0.5515 GB, free: 13.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1041, allocations: 60.28 kB / 0.5516 GB, free: 13.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1043, allocations: 108.2 kB / 0.5517 GB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.1043, allocations: 8.297 kB / 0.5517 GB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002811/0.1046, allocations: 149.3 kB / 0.5519 GB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1046, allocations: 8 kB / 0.5519 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1046, allocations: 0 / 0.5519 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1046, allocations: 7.938 kB / 0.5519 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1047, allocations: 27.98 kB / 0.5519 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1048, allocations: 12.06 kB / 0.5519 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.1048, allocations: 7.984 kB / 0.5519 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1048, allocations: 4 kB / 0.5519 GB, free: 12.84 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.0001505/0.105, allocations: 147.4 kB / 0.5521 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.105, allocations: 23.86 kB / 0.5521 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.1053, allocations: 143.2 kB / 0.5522 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1053, allocations: 0 / 0.5522 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1054, allocations: 4 kB / 0.5522 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1054, allocations: 0 / 0.5522 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1056, allocations: 177.2 kB / 0.5524 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1056, allocations: 4 kB / 0.5524 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1057, allocations: 19.98 kB / 0.5524 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1057, allocations: 0 / 0.5524 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1057, allocations: 4 kB / 0.5524 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1057, allocations: 0 / 0.5524 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1057, allocations: 7.984 kB / 0.5524 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.1061, allocations: 212.9 kB / 0.5526 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1061, allocations: 19.89 kB / 0.5527 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1062, allocations: 8 kB / 0.5527 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.1062, allocations: 0 / 0.5527 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1063, allocations: 12.05 kB / 0.5527 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1063, allocations: 7.984 kB / 0.5527 GB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1065, allocations: 208.5 kB / 0.5529 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1065, allocations: 0 / 0.5529 GB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1067, allocations: 43.92 kB / 0.5529 GB, free: 11.76 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 (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.001673/0.1084, allocations: 436.8 kB / 0.5533 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.1087, allocations: 83.84 kB / 0.5534 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1087, allocations: 4.25 kB / 0.5534 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1088, allocations: 43.91 kB / 0.5535 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1091, allocations: 48.52 kB / 0.5535 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.1101, allocations: 0.5226 MB / 0.554 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.1102, allocations: 140.1 kB / 0.5542 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1103, allocations: 15.44 kB / 0.5542 GB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1103, allocations: 0 / 0.5542 GB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.005271/0.1156, allocations: 2.747 MB / 0.5569 GB, free: 7.867 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: 7.743806160055101] Failed to read output from testmodel.py, exit status != 0: 0.12349935388192534 0.32398594099999994 0.22176426100000002 Calling exit ...