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.001333/0.001333, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001017/0.001017, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.061/1.061, allocations: 177 MB / 204.8 MB, free: 5.562 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.2765/0.2765, allocations: 34.86 MB / 296.3 MB, free: 480 kB / 266.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.754e-06/1.754e-06, allocations: 0 / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.091e-05, allocations: 2.875 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01193/0.01196, allocations: 9.701 MB / 388.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006217/0.01818, allocations: 3.1 MB / 391.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.01946, allocations: 31.88 kB / 391.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.02129, allocations: 0.5665 MB / 392.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.02314, allocations: 0.6122 MB / 392.9 MB, free: 3.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.02395, allocations: 323.4 kB / 393.2 MB, free: 3.559 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.02625, allocations: 1.836 MB / 395 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.02707, allocations: 421.3 kB / 395.4 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.029, allocations: 1.048 MB / 396.5 MB, free: 240 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.03024, allocations: 0.5686 MB / 397.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.03068, allocations: 160 kB / 397.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.03113, allocations: 192 kB / 397.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.03138, allocations: 342.7 kB / 397.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.03226, allocations: 0.5612 MB / 398.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.03412, allocations: 1.156 MB / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.03413, allocations: 0 / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03413, allocations: 0 / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.708e-05/0.03418, allocations: 0 / 399.5 MB, free: 13.26 MB / 378.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.003143/0.03732, allocations: 1.863 MB / 401.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.03737, allocations: 8.031 kB / 401.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.03807, allocations: 299.8 kB / 401.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.03945, allocations: 0.7413 MB / 402.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.03963, allocations: 163.8 kB / 402.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.03981, allocations: 120.3 kB / 402.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.04191, allocations: 1.359 MB / 404 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.04196, allocations: 19.88 kB / 404 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.04205, allocations: 48 kB / 404.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.04208, allocations: 27.98 kB / 404.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.0431, allocations: 419.6 kB / 404.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.04783, allocations: 3.325 MB / 407.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.04861, allocations: 397.3 kB / 408.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.0488, allocations: 153.5 kB / 408.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.04884, allocations: 16.48 kB / 408.4 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.04913, allocations: 241.5 kB / 408.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.04913, allocations: 0 / 408.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002344/0.05147, allocations: 1.449 MB / 410.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.05163, allocations: 483.3 kB / 410.5 MB, free: 1.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.0525, allocations: 0.9503 MB / 411.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.05254, allocations: 37.7 kB / 411.5 MB, free: 496 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.05293, allocations: 0.7364 MB / 412.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.05308, allocations: 238 kB / 412.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.05327, allocations: 208.5 kB / 412.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.05341, allocations: 0.5121 MB / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.05364, allocations: 177.9 kB / 413.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.05426, allocations: 1.224 MB / 414.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.05498, allocations: 0.8817 MB / 415.5 MB, free: 11.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.05499, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001142/0.05613, allocations: 0.9988 MB / 416.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.05618, allocations: 63.41 kB / 416.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.05619, allocations: 12 kB / 416.6 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.05658, allocations: 161.7 kB / 416.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.05696, allocations: 203.7 kB / 416.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.0597, allocations: 4.358 MB / 421.3 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.06015, allocations: 55.92 kB / 421.3 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.06019, allocations: 48 kB / 421.4 MB, free: 5.664 MB / 394.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.0002457/0.06044, allocations: 236.5 kB / 421.6 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.06056, allocations: 139.2 kB / 421.7 MB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.06121, allocations: 0.5071 MB / 422.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.06121, allocations: 8 kB / 422.3 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.06122, allocations: 0 / 422.3 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/0.06184, allocations: 0.7849 MB / 423 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.06338, allocations: 1.422 MB / 424.5 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.06338, allocations: 0 / 424.5 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.06363, allocations: 107.8 kB / 424.6 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.06387, allocations: 119.2 kB / 424.7 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.0639, allocations: 16 kB / 424.7 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.06598, allocations: 4.161 MB / 428.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.06598, allocations: 8 kB / 428.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.06678, allocations: 0.8284 MB / 429.7 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.06702, allocations: 171.1 kB / 429.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.06709, allocations: 16 kB / 429.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.06737, allocations: 35.97 kB / 429.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.06747, allocations: 60.28 kB / 430 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.06749, allocations: 19.98 kB / 430 MB, free: 12.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004825/0.06797, allocations: 0.568 MB / 430.6 MB, free: 11.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06797, allocations: 0 / 430.6 MB, free: 11.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007228/0.06869, allocations: 312 kB / 430.9 MB, free: 11.62 MB / 410.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.000198/0.06889, allocations: 127.1 kB / 431 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.07013, allocations: 1.071 MB / 432.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.07013, allocations: 0 / 432.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.07061, allocations: 0.5667 MB / 432.6 MB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.07135, allocations: 299.2 kB / 432.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.07407, allocations: 2.07 MB / 435 MB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.07423, allocations: 209.5 kB / 435.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.07456, allocations: 124.7 kB / 435.3 MB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.07467, allocations: 72.48 kB / 435.4 MB, free: 6.895 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.07468, allocations: 0 / 435.4 MB, free: 6.895 MB / 410.7 MB Notification: Performance of Templates: time 0.1583/0.233, allocations: 18.19 MB / 453.6 MB, free: 93.97 MB / 410.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.6451828898862004]