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.001519/0.001519, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.44/1.44, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001515/0.001515, allocations: 196 kB / 300.5 MB, free: 9.82 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.04245/0.04245, allocations: 8.926 MB / 364.3 MB, free: 10.17 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.002477/0.002477, allocations: 87.64 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09744, allocations: 54.41 MB / 0.5289 GB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.005048/0.1025, allocations: 2.88 MB / 0.5317 GB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1037, allocations: 0.6544 MB / 0.5324 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1038, allocations: 8 kB / 0.5324 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.104, allocations: 51.5 kB / 0.5324 GB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1043, allocations: 103.1 kB / 0.5325 GB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1044, allocations: 83.91 kB / 0.5326 GB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.1049, allocations: 378.4 kB / 0.533 GB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1051, allocations: 92.52 kB / 0.5331 GB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1053, allocations: 147.4 kB / 0.5332 GB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1055, allocations: 151.3 kB / 0.5333 GB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.1055, allocations: 40 kB / 0.5334 GB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.1056, allocations: 39.94 kB / 0.5334 GB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.1057, allocations: 67.83 kB / 0.5335 GB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1059, allocations: 175.1 kB / 0.5337 GB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.1064, allocations: 418.4 kB / 0.5341 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1064, allocations: 0 / 0.5341 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1064, allocations: 0 / 0.5341 GB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1064, allocations: 0 / 0.5341 GB, free: 11.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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001032/0.1074, allocations: 0.5962 MB / 0.5346 GB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1074, allocations: 12.03 kB / 0.5346 GB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.1075, allocations: 32.75 kB / 0.5347 GB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1079, allocations: 279.8 kB / 0.5349 GB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.108, allocations: 21.03 kB / 0.535 GB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.108, allocations: 32.38 kB / 0.535 GB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.1086, allocations: 274.1 kB / 0.5353 GB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1086, allocations: 0 / 0.5353 GB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1087, allocations: 16 kB / 0.5353 GB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1087, allocations: 8 kB / 0.5353 GB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.1092, allocations: 210.5 kB / 0.5355 GB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.1109, allocations: 1.033 MB / 0.5365 GB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.1113, allocations: 142.5 kB / 0.5366 GB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.1115, allocations: 72.8 kB / 0.5367 GB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1115, allocations: 7.938 kB / 0.5367 GB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1116, allocations: 38.5 kB / 0.5367 GB, free: 8.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1116, allocations: 0 / 0.5367 GB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001547/0.1131, allocations: 0.6897 MB / 0.5374 GB, free: 7.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1132, allocations: 55.39 kB / 0.5375 GB, free: 7.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1134, allocations: 203.2 kB / 0.5377 GB, free: 7.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1134, allocations: 25.7 kB / 0.5377 GB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1136, allocations: 188.4 kB / 0.5379 GB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.1136, allocations: 63.47 kB / 0.5379 GB, free: 7.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.1137, allocations: 33.72 kB / 0.538 GB, free: 7.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1139, allocations: 338.7 kB / 0.5383 GB, free: 6.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1141, allocations: 59.97 kB / 0.5383 GB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1143, allocations: 108.2 kB / 0.5384 GB, free: 6.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.1146, allocations: 164.2 kB / 0.5386 GB, free: 6.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1146, allocations: 8 kB / 0.5386 GB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005284/0.1152, allocations: 228.5 kB / 0.5388 GB, free: 6.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1152, allocations: 7.938 kB / 0.5388 GB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1152, allocations: 0 / 0.5388 GB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.1153, allocations: 28.97 kB / 0.5389 GB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1155, allocations: 39.97 kB / 0.5389 GB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1168, allocations: 1.371 MB / 0.5402 GB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.117, allocations: 12.02 kB / 0.5402 GB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.117, allocations: 8 kB / 0.5403 GB, free: 4.738 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: 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.0001675/0.1171, allocations: 145.7 kB / 0.5404 GB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.1172, allocations: 23.94 kB / 0.5404 GB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.1173, allocations: 29.84 kB / 0.5404 GB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1173, allocations: 4 kB / 0.5404 GB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1173, allocations: 0 / 0.5404 GB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1173, allocations: 0 / 0.5404 GB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.1183, allocations: 0.6061 MB / 0.541 GB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1183, allocations: 8.062 kB / 0.541 GB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1185, allocations: 39.97 kB / 0.5411 GB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.19e-05/0.1186, allocations: 12.86 kB / 0.5411 GB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1186, allocations: 11.98 kB / 0.5411 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1197, allocations: 1.367 MB / 0.5424 GB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1197, allocations: 0 / 0.5424 GB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.1204, allocations: 376.7 kB / 0.5428 GB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.1205, allocations: 97.05 kB / 0.5429 GB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1205, allocations: 4 kB / 0.5429 GB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1207, allocations: 19.98 kB / 0.5429 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.1208, allocations: 7.984 kB / 0.5429 GB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1208, allocations: 8 kB / 0.5429 GB, free: 1.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.121, allocations: 148.2 kB / 0.5431 GB, free: 1.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.121, allocations: 0 / 0.5431 GB, free: 1.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1213, allocations: 52 kB / 0.5431 GB, free: 1.539 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.0001117/0.1214, allocations: 105.2 kB / 0.5432 GB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.122, allocations: 276.6 kB / 0.5435 GB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.122, allocations: 0 / 0.5435 GB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.1223, allocations: 182.6 kB / 0.5437 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1228, allocations: 44.28 kB / 0.5437 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.124, allocations: 0.7278 MB / 0.5444 GB, free: 144 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.1245, allocations: 0.7554 MB / 0.5452 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.1245, allocations: 19.44 kB / 0.5452 GB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1245, allocations: 0 / 0.5452 GB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006983/0.1315, allocations: 4.154 MB / 0.5492 GB, free: 11.19 MB / 366.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.535888468148187] Failed to read output from testmodel.py, exit status != 0: 0.2838486568070948 0.154042696 0.044631145000000004 Calling exit ...