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.0006837/0.0006837, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009349/0.001619, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007413/0.0007413, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008913/0.001633, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09368/1.103, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2644/0.2644, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02349/0.2879, allocations: 13.22 MB / 292.6 MB, free: 6.48 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 1.914e-06/1.914e-06, allocations: 0 / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.39e-05, allocations: 3.078 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01162/0.01165, allocations: 9.537 MB / 303.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.01699, allocations: 3.21 MB / 306.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.01746, allocations: 35.81 kB / 306.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.01831, allocations: 0.5782 MB / 307.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007784/0.01909, allocations: 0.6122 MB / 307.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.01948, allocations: 323.4 kB / 308.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.02063, allocations: 1.838 MB / 310.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.0211, allocations: 441.3 kB / 310.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.02235, allocations: 1.228 MB / 311.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.02283, allocations: 0.5765 MB / 312.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.02296, allocations: 156 kB / 312.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.02319, allocations: 199.9 kB / 312.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.02334, allocations: 251.1 kB / 312.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.02372, allocations: 479.1 kB / 313.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.0246, allocations: 1.078 MB / 314.5 MB, free: 496 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.02462, allocations: 0 / 314.5 MB, free: 496 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02462, allocations: 0 / 314.5 MB, free: 496 kB / 298.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.02464, allocations: 0 / 314.5 MB, free: 496 kB / 298.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.001764/0.02641, allocations: 2.025 MB / 316.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.02644, allocations: 12.92 kB / 316.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.02683, allocations: 317.8 kB / 316.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.02749, allocations: 0.5787 MB / 317.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.02759, allocations: 171.8 kB / 317.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.02768, allocations: 116.4 kB / 317.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.02872, allocations: 1.265 MB / 318.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.02875, allocations: 7.891 kB / 318.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.0288, allocations: 48 kB / 319 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.02881, allocations: 28 kB / 319 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.02915, allocations: 289.8 kB / 319.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.03164, allocations: 2.694 MB / 322 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.03218, allocations: 343.6 kB / 322.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.03229, allocations: 106.8 kB / 322.4 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.03232, allocations: 16.44 kB / 322.4 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.03254, allocations: 219.8 kB / 322.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.863e-06/0.03254, allocations: 3.938 kB / 322.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001516/0.03405, allocations: 1.098 MB / 323.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.03408, allocations: 60.06 kB / 323.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.03463, allocations: 0.8422 MB / 324.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.03466, allocations: 41.7 kB / 324.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.03515, allocations: 0.552 MB / 325.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.03526, allocations: 245.9 kB / 325.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.03541, allocations: 194.7 kB / 325.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.03549, allocations: 345.9 kB / 326 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.0356, allocations: 146 kB / 326.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.036, allocations: 1.009 MB / 327.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.03643, allocations: 0.6871 MB / 327.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.03644, allocations: 4 kB / 327.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0006315/0.03707, allocations: 0.7596 MB / 328.6 MB, free: 1.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.03711, allocations: 65.91 kB / 328.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.03712, allocations: 12 kB / 328.7 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.03738, allocations: 125.5 kB / 328.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.03777, allocations: 249.8 kB / 329.1 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.0398, allocations: 3.015 MB / 332.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.04012, allocations: 60.05 kB / 332.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.04015, allocations: 40 kB / 332.2 MB, free: 13.46 MB / 330.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 {(5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.04031, allocations: 187.8 kB / 332.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.04039, allocations: 91.89 kB / 332.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.04081, allocations: 405.6 kB / 332.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.04082, allocations: 11.94 kB / 332.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.04082, allocations: 0 / 332.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003759/0.04119, allocations: 0.6662 MB / 333.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.04213, allocations: 0.9335 MB / 334.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.04213, allocations: 0 / 334.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.04241, allocations: 127.9 kB / 334.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.04258, allocations: 103.3 kB / 334.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.04278, allocations: 105.8 kB / 334.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.0428, allocations: 15.98 kB / 334.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.04424, allocations: 2.846 MB / 337.6 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04424, allocations: 0 / 337.6 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.04474, allocations: 0.5922 MB / 338.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.0448, allocations: 12 kB / 338.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.04505, allocations: 40.06 kB / 338.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.04511, allocations: 52.34 kB / 338.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.04513, allocations: 23.92 kB / 338.4 MB, free: 6.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000542/0.04567, allocations: 406.9 kB / 338.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04567, allocations: 0 / 338.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.0462, allocations: 308 kB / 339.1 MB, free: 6.145 MB / 330.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.000154/0.04635, allocations: 124.2 kB / 339.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.04708, allocations: 0.8948 MB / 340.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-05/0.0471, allocations: 20.48 kB / 340.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.04742, allocations: 450.9 kB / 340.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.04806, allocations: 397.2 kB / 340.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.06009, allocations: 2.08 MB / 343 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.06024, allocations: 209.7 kB / 343.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.06057, allocations: 132.7 kB / 343.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.06105, allocations: 365.1 kB / 343.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06105, allocations: 3.938 kB / 343.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02228/0.08333, allocations: 19.8 MB / 363.5 MB, free: 13.94 MB / 362.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.2585117360576987]