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.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.001601/0.001601, allocations: 115.5 kB / 17.08 MB, free: 5.82 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.21 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.001484/0.001485, allocations: 191.4 kB / 295.1 MB, free: 12.66 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.03973/0.03973, allocations: 8.802 MB / 356 MB, free: 15.9 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.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: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 83.88 kB / 473.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3086, allocations: 51.56 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.005056/0.3137, allocations: 2.865 MB / 0.5153 GB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3153, allocations: 0.6487 MB / 0.516 GB, free: 9.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3155, allocations: 8 kB / 0.516 GB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3157, allocations: 51.5 kB / 0.516 GB, free: 9.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.316, allocations: 95.11 kB / 0.5161 GB, free: 9.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3162, allocations: 79.92 kB / 0.5162 GB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3167, allocations: 382.4 kB / 0.5166 GB, free: 8.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.317, allocations: 143.2 kB / 0.5167 GB, free: 8.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3171, allocations: 139.4 kB / 0.5168 GB, free: 8.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3174, allocations: 155.3 kB / 0.517 GB, free: 8.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.3174, allocations: 40 kB / 0.517 GB, free: 8.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.3175, allocations: 36 kB / 0.5171 GB, free: 8.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.3176, allocations: 75.75 kB / 0.5171 GB, free: 8.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3178, allocations: 175.1 kB / 0.5173 GB, free: 8.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.3183, allocations: 406.2 kB / 0.5177 GB, free: 7.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3184, allocations: 0 / 0.5177 GB, free: 7.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3184, allocations: 0 / 0.5177 GB, free: 7.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3184, allocations: 3.938 kB / 0.5177 GB, free: 7.828 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001093/0.3195, allocations: 0.6079 MB / 0.5183 GB, free: 7.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3195, allocations: 11.97 kB / 0.5183 GB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.3196, allocations: 32.75 kB / 0.5183 GB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.3202, allocations: 275.9 kB / 0.5186 GB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3202, allocations: 21.03 kB / 0.5186 GB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.3203, allocations: 32.38 kB / 0.5186 GB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.3208, allocations: 270.2 kB / 0.5189 GB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3209, allocations: 7.984 kB / 0.5189 GB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3209, allocations: 16 kB / 0.5189 GB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3209, allocations: 8 kB / 0.5189 GB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.3214, allocations: 206.5 kB / 0.5191 GB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3232, allocations: 1.037 MB / 0.5201 GB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.3236, allocations: 150.5 kB / 0.5203 GB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3238, allocations: 81.08 kB / 0.5204 GB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3239, allocations: 11.88 kB / 0.5204 GB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3239, allocations: 38.56 kB / 0.5204 GB, free: 4.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3239, allocations: 0 / 0.5204 GB, free: 4.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001589/0.3255, allocations: 0.6853 MB / 0.5211 GB, free: 4.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3256, allocations: 51.41 kB / 0.5211 GB, free: 4.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3258, allocations: 199.2 kB / 0.5213 GB, free: 3.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3258, allocations: 33.7 kB / 0.5213 GB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.326, allocations: 184.4 kB / 0.5215 GB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.3261, allocations: 59.47 kB / 0.5216 GB, free: 3.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.3261, allocations: 37.72 kB / 0.5216 GB, free: 3.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3263, allocations: 338.8 kB / 0.5219 GB, free: 3.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3265, allocations: 55.97 kB / 0.522 GB, free: 3.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.3267, allocations: 100.2 kB / 0.5221 GB, free: 3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.3271, allocations: 172.1 kB / 0.5222 GB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3271, allocations: 0 / 0.5222 GB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005515/0.3276, allocations: 228.9 kB / 0.5225 GB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3277, allocations: 8 kB / 0.5225 GB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3277, allocations: 0 / 0.5225 GB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.3278, allocations: 24.84 kB / 0.5225 GB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.328, allocations: 43.86 kB / 0.5225 GB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.3294, allocations: 1.378 MB / 0.5239 GB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3295, allocations: 11.98 kB / 0.5239 GB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3296, allocations: 4.156 kB / 0.5239 GB, free: 0.9766 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: 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.0001642/0.3297, allocations: 153.7 kB / 0.524 GB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3298, allocations: 19.84 kB / 0.5241 GB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.3298, allocations: 29.84 kB / 0.5241 GB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3299, allocations: 3.938 kB / 0.5241 GB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3299, allocations: 4 kB / 0.5241 GB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3299, allocations: 0 / 0.5241 GB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.3308, allocations: 0.6046 MB / 0.5247 GB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3308, allocations: 0 / 0.5247 GB, free: 92 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.331, allocations: 47.91 kB / 0.5247 GB, free: 44 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.087e-05/0.3311, allocations: 12.86 kB / 0.5247 GB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3311, allocations: 4 kB / 0.5248 GB, free: 24 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3323, allocations: 1.375 MB / 0.5261 GB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3323, allocations: 0 / 0.5261 GB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.333, allocations: 369.8 kB / 0.5264 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3331, allocations: 101 kB / 0.5265 GB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3332, allocations: 4 kB / 0.5265 GB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3333, allocations: 15.98 kB / 0.5266 GB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3334, allocations: 11.98 kB / 0.5266 GB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.3335, allocations: 4 kB / 0.5266 GB, free: 13.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3336, allocations: 148.2 kB / 0.5267 GB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3336, allocations: 0 / 0.5267 GB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00033/0.3339, allocations: 52 kB / 0.5268 GB, free: 13.78 MB / 350.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.0001436/0.3341, allocations: 107.2 kB / 0.5269 GB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.3347, allocations: 278.4 kB / 0.5271 GB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3347, allocations: 0 / 0.5271 GB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.335, allocations: 190.8 kB / 0.5273 GB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3354, allocations: 31.98 kB / 0.5274 GB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3367, allocations: 0.7303 MB / 0.5281 GB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.3372, allocations: 0.7593 MB / 0.5288 GB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.3373, allocations: 19.38 kB / 0.5288 GB, free: 11.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.565e-06/0.3373, allocations: 0 / 0.5288 GB, free: 11.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006821/0.3441, allocations: 4.128 MB / 0.5329 GB, free: 7.445 MB / 350.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: 7.288294706027955] Failed to read output from testmodel.py, exit status != 0: 0.35108691290952265 0.36494938400000004 0.043989872 Calling exit ...