Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 158.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.074/1.074, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.163/0.163, allocations: 34.89 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.495e-05/4.762e-05, allocations: 6.797 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008333/0.00838, allocations: 9.438 MB / 389.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.01452, allocations: 3.086 MB / 392.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.01629, allocations: 31.88 kB / 392.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.018, allocations: 0.5665 MB / 393.2 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.01977, allocations: 0.6123 MB / 393.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.02045, allocations: 319.4 kB / 394.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.02246, allocations: 1.84 MB / 396 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.02309, allocations: 417.3 kB / 396.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.02457, allocations: 1.048 MB / 397.4 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.02524, allocations: 0.5726 MB / 398 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.0254, allocations: 156 kB / 398.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.02576, allocations: 195.9 kB / 398.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.02594, allocations: 342.7 kB / 398.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.02641, allocations: 0.5534 MB / 399.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.02771, allocations: 1.16 MB / 400.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.02772, allocations: 0 / 400.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02772, allocations: 0 / 400.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.971e-05/0.02775, allocations: 0 / 400.4 MB, free: 2.258 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002172/0.02992, allocations: 1.87 MB / 402.3 MB, free: 336 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.02998, allocations: 12.03 kB / 402.3 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/0.03052, allocations: 291.8 kB / 402.6 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.03164, allocations: 0.7295 MB / 403.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.03179, allocations: 167.8 kB / 403.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.03191, allocations: 116.3 kB / 403.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.03319, allocations: 1.297 MB / 404.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.03323, allocations: 7.891 kB / 404.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.03329, allocations: 48 kB / 404.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.03331, allocations: 28 kB / 404.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.03381, allocations: 345.5 kB / 405.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.03829, allocations: 3.359 MB / 408.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.03906, allocations: 378.9 kB / 409 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.03923, allocations: 122.9 kB / 409.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.03928, allocations: 20.48 kB / 409.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.03961, allocations: 213.5 kB / 409.4 MB, free: 8.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/0.03961, allocations: 0 / 409.4 MB, free: 8.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002639/0.04225, allocations: 1.216 MB / 410.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/0.04248, allocations: 479.3 kB / 411 MB, free: 6.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.04341, allocations: 0.9146 MB / 412 MB, free: 5.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.04347, allocations: 45.69 kB / 412 MB, free: 5.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.04396, allocations: 0.7363 MB / 412.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.04414, allocations: 249.9 kB / 413 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.04435, allocations: 200.5 kB / 413.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.04456, allocations: 0.5198 MB / 413.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.04475, allocations: 157.9 kB / 413.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.04563, allocations: 1.201 MB / 415.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.04641, allocations: 0.8309 MB / 415.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.04642, allocations: 4 kB / 415.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001478/0.0479, allocations: 0.924 MB / 416.8 MB, free: 432 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.04799, allocations: 66.59 kB / 416.9 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.04802, allocations: 15.98 kB / 416.9 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.04854, allocations: 147.2 kB / 417 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.04901, allocations: 207.7 kB / 417.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.05289, allocations: 4.277 MB / 421.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.0538, allocations: 64.03 kB / 421.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.05386, allocations: 40 kB / 421.6 MB, free: 11.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.05429, allocations: 236.3 kB / 421.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.05444, allocations: 135.3 kB / 422 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.05515, allocations: 483.3 kB / 422.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.05516, allocations: 7.938 kB / 422.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.05516, allocations: 0 / 422.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005945/0.05576, allocations: 0.7419 MB / 423.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.05751, allocations: 1.234 MB / 424.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.05751, allocations: 4 kB / 424.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.0578, allocations: 95.89 kB / 424.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.0581, allocations: 111.5 kB / 424.6 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.05814, allocations: 16 kB / 424.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.06092, allocations: 4.104 MB / 428.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.06092, allocations: 3.938 kB / 428.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.06199, allocations: 0.7695 MB / 429.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.06235, allocations: 163.1 kB / 429.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.06243, allocations: 19.94 kB / 429.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.06273, allocations: 47.97 kB / 429.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.06284, allocations: 56.33 kB / 429.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.06287, allocations: 16 kB / 429.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000467/0.06333, allocations: 0.521 MB / 430.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06333, allocations: 0 / 430.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001019/0.06435, allocations: 304 kB / 430.7 MB, free: 1.832 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002608/0.06461, allocations: 135.1 kB / 430.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.06595, allocations: 1.024 MB / 431.8 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.06596, allocations: 3.906 kB / 431.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.0665, allocations: 0.5665 MB / 432.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.06739, allocations: 295.9 kB / 432.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.07076, allocations: 2.041 MB / 434.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.07108, allocations: 205.5 kB / 434.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000469/0.07155, allocations: 132.6 kB / 435 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.07212, allocations: 409.9 kB / 435.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/0.07212, allocations: 0 / 435.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Templates: time 0.0291/0.1012, allocations: 18.82 MB / 454.3 MB, free: 10.37 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.862401583697647]