Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.001335/0.001335, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.462/1.462, allocations: 230.6 MB / 253.4 MB, free: 8.035 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.001691/0.001691, allocations: 213.2 kB / 310 MB, free: 3.109 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.04114/0.04114, allocations: 8.912 MB / 375.3 MB, free: 1.867 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.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [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.002848/0.002848, allocations: 90.53 kB / 0.4904 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3493, allocations: 55.6 MB / 0.5447 GB, free: 27.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.0036/0.3529, allocations: 2.925 MB / 0.5476 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3541, allocations: 0.6981 MB / 0.5483 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3543, allocations: 10.44 kB / 0.5483 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.3544, allocations: 55.88 kB / 0.5483 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3547, allocations: 94.81 kB / 0.5484 GB, free: 24.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.3548, allocations: 82.77 kB / 0.5485 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.3552, allocations: 379.8 kB / 0.5488 GB, free: 24.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.3554, allocations: 106 kB / 0.5489 GB, free: 24.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3555, allocations: 144.1 kB / 0.5491 GB, free: 24.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3557, allocations: 158.2 kB / 0.5492 GB, free: 24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.3557, allocations: 37.16 kB / 0.5493 GB, free: 24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.3558, allocations: 38.06 kB / 0.5493 GB, free: 24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.3558, allocations: 74.64 kB / 0.5494 GB, free: 23.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.356, allocations: 170.6 kB / 0.5495 GB, free: 23.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.3563, allocations: 414.9 kB / 0.5499 GB, free: 23.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3563, allocations: 0 / 0.5499 GB, free: 23.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3563, allocations: 0 / 0.5499 GB, free: 23.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3563, allocations: 0 / 0.5499 GB, free: 23.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008023/0.3571, allocations: 0.5247 MB / 0.5504 GB, free: 23.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3572, allocations: 13.17 kB / 0.5505 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.3573, allocations: 32.16 kB / 0.5505 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3576, allocations: 215.6 kB / 0.5507 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3576, allocations: 25.78 kB / 0.5507 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.3577, allocations: 27.84 kB / 0.5507 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.3581, allocations: 271.2 kB / 0.551 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3582, allocations: 11.2 kB / 0.551 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3582, allocations: 8 kB / 0.551 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3582, allocations: 9.625 kB / 0.551 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.3586, allocations: 215.8 kB / 0.5512 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3599, allocations: 0.9627 MB / 0.5522 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.3602, allocations: 140.9 kB / 0.5523 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3604, allocations: 72.3 kB / 0.5524 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3604, allocations: 15.86 kB / 0.5524 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3604, allocations: 33.56 kB / 0.5524 GB, free: 22.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3604, allocations: 0 / 0.5524 GB, free: 22.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001194/0.3616, allocations: 0.5427 MB / 0.553 GB, free: 21.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.3616, allocations: 51.41 kB / 0.553 GB, free: 21.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3618, allocations: 197.9 kB / 0.5532 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3618, allocations: 25.7 kB / 0.5532 GB, free: 21.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.3619, allocations: 189.5 kB / 0.5534 GB, free: 21.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3619, allocations: 62.86 kB / 0.5535 GB, free: 21.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.362, allocations: 36.94 kB / 0.5535 GB, free: 21.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.362, allocations: 336.3 kB / 0.5538 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.3622, allocations: 59.83 kB / 0.5539 GB, free: 20.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3623, allocations: 101.7 kB / 0.554 GB, free: 20.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.3626, allocations: 164.6 kB / 0.5541 GB, free: 20.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3626, allocations: 0 / 0.5541 GB, free: 20.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004164/0.363, allocations: 237.5 kB / 0.5544 GB, free: 20.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.363, allocations: 6.531 kB / 0.5544 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.363, allocations: 3.031 kB / 0.5544 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.3632, allocations: 25.52 kB / 0.5544 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3633, allocations: 37.78 kB / 0.5544 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007312/0.3641, allocations: 1.269 MB / 0.5557 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3642, allocations: 13.41 kB / 0.5557 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3642, allocations: 6.219 kB / 0.5557 GB, free: 19.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.3643, allocations: 150.2 kB / 0.5558 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3644, allocations: 24.95 kB / 0.5559 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.3644, allocations: 24.53 kB / 0.5559 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3644, allocations: 3.312 kB / 0.5559 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3644, allocations: 0 / 0.5559 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3644, allocations: 3.422 kB / 0.5559 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.3652, allocations: 0.5747 MB / 0.5564 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3652, allocations: 3.219 kB / 0.5564 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3653, allocations: 43.67 kB / 0.5565 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/0.3654, allocations: 18 kB / 0.5565 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3654, allocations: 4 kB / 0.5565 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006066/0.366, allocations: 1.274 MB / 0.5578 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.366, allocations: 2.719 kB / 0.5578 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.3665, allocations: 369.8 kB / 0.5581 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.3666, allocations: 26.27 kB / 0.5581 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3666, allocations: 3.125 kB / 0.5581 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3667, allocations: 13.84 kB / 0.5581 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3668, allocations: 14.03 kB / 0.5582 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3668, allocations: 6.406 kB / 0.5582 GB, free: 17.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3669, allocations: 144.7 kB / 0.5583 GB, free: 17.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3669, allocations: 0 / 0.5583 GB, free: 17.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.3672, allocations: 53.5 kB / 0.5584 GB, free: 17.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.3673, allocations: 110.7 kB / 0.5585 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3679, allocations: 263.7 kB / 0.5587 GB, free: 16.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3679, allocations: 0 / 0.5587 GB, free: 16.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3681, allocations: 204 kB / 0.5589 GB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3685, allocations: 35.7 kB / 0.5589 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3696, allocations: 0.7133 MB / 0.5596 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3697, allocations: 0.7586 MB / 0.5604 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.3698, allocations: 24.94 kB / 0.5604 GB, free: 15.4 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3698, allocations: 0 / 0.5604 GB, free: 15.4 MB / 382.1 MB Notification: Performance of Templates: time 0.006818/0.3766, allocations: 4.15 MB / 0.5645 GB, free: 14.97 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.146873336052522] Failed to read output from testmodel.py, exit status != 0: 0.3857143090572208 0.39894899599999994 0.039644940000000004 Calling exit ...