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.001055/0.001055, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00105/0.00105, allocations: 169.9 kB / 24.82 MB, free: 9.305 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 0.9511/0.9511, allocations: 177 MB / 205.1 MB, free: 5.484 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.2379/0.2379, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 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.874e-06/1.874e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.775e-05, allocations: 2.312 kB / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008526/0.008554, allocations: 9.441 MB / 388.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.01274, allocations: 3.08 MB / 391.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.0134, allocations: 31.81 kB / 391.9 MB, free: 5.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.01447, allocations: 0.5742 MB / 392.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009486/0.01542, allocations: 0.6084 MB / 393 MB, free: 3.945 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.01587, allocations: 323.4 kB / 393.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.01723, allocations: 1.841 MB / 395.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.01774, allocations: 421.3 kB / 395.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.01878, allocations: 1.052 MB / 396.7 MB, free: 304 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.01939, allocations: 0.561 MB / 397.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.01957, allocations: 156 kB / 397.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.01986, allocations: 199.9 kB / 397.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.02003, allocations: 338.7 kB / 397.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.02048, allocations: 0.565 MB / 398.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.02153, allocations: 1.156 MB / 399.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.02154, allocations: 0 / 399.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02154, allocations: 0 / 399.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.02156, allocations: 0 / 399.6 MB, free: 13.33 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.001894/0.02345, allocations: 1.87 MB / 401.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.02349, allocations: 12.02 kB / 401.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.02389, allocations: 291.9 kB / 401.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.02464, allocations: 0.7294 MB / 402.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.02475, allocations: 163.8 kB / 402.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.02486, allocations: 128.3 kB / 402.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.02584, allocations: 1.297 MB / 404.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.02586, allocations: 11.89 kB / 404.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.02592, allocations: 44 kB / 404.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.02594, allocations: 31.98 kB / 404.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.02635, allocations: 337.6 kB / 404.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.02947, allocations: 3.355 MB / 407.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.03006, allocations: 372.8 kB / 408.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.0302, allocations: 133.5 kB / 408.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.03023, allocations: 16.5 kB / 408.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.03047, allocations: 230 kB / 408.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.763e-06/0.03047, allocations: 0 / 408.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001805/0.03227, allocations: 1.197 MB / 409.8 MB, free: 2.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.03242, allocations: 479.3 kB / 410.3 MB, free: 2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.03308, allocations: 0.9224 MB / 411.2 MB, free: 1.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.03311, allocations: 45.64 kB / 411.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.03348, allocations: 0.7402 MB / 412 MB, free: 260 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.0336, allocations: 241.9 kB / 412.2 MB, free: 16 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.03378, allocations: 208.4 kB / 412.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.03391, allocations: 0.5159 MB / 412.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.03405, allocations: 157.9 kB / 413.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.03458, allocations: 1.197 MB / 414.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.03513, allocations: 0.8348 MB / 415.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.03514, allocations: 0 / 415.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008558/0.03599, allocations: 0.932 MB / 416.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.03604, allocations: 67.39 kB / 416.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.03605, allocations: 12 kB / 416.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.03636, allocations: 143.7 kB / 416.3 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.0367, allocations: 207.6 kB / 416.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.03907, allocations: 4.275 MB / 420.8 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.03949, allocations: 60.12 kB / 420.8 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.03953, allocations: 43.98 kB / 420.9 MB, free: 6.445 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.0002234/0.03975, allocations: 228.3 kB / 421.1 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.03986, allocations: 131.3 kB / 421.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.04039, allocations: 491.2 kB / 421.7 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.0404, allocations: 11.94 kB / 421.7 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.0404, allocations: 0 / 421.7 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005144/0.04092, allocations: 0.7419 MB / 422.4 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.04218, allocations: 1.23 MB / 423.7 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.04219, allocations: 0 / 423.7 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.04242, allocations: 103.9 kB / 423.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/0.04264, allocations: 107.5 kB / 423.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.04266, allocations: 20 kB / 423.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.04454, allocations: 4.104 MB / 428 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.04455, allocations: 12.09 kB / 428 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.04523, allocations: 0.7578 MB / 428.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.04546, allocations: 175.2 kB / 428.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.04553, allocations: 20 kB / 429 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.04579, allocations: 31.97 kB / 429 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.04587, allocations: 60.33 kB / 429.1 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.04589, allocations: 19.94 kB / 429.1 MB, free: 13.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003585/0.04625, allocations: 0.521 MB / 429.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04625, allocations: 0 / 429.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000712/0.04696, allocations: 300 kB / 429.9 MB, free: 12.9 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.0001727/0.04713, allocations: 143 kB / 430 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.04804, allocations: 1.023 MB / 431 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.04804, allocations: 2 kB / 431.1 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.04843, allocations: 0.5543 MB / 431.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.04913, allocations: 295.5 kB / 431.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.05162, allocations: 2.053 MB / 433.9 MB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.05177, allocations: 205.5 kB / 434.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.0521, allocations: 136.6 kB / 434.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.05262, allocations: 413.9 kB / 434.7 MB, free: 7.883 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.05263, allocations: 3.938 kB / 434.7 MB, free: 7.879 MB / 410.7 MB Notification: Performance of Templates: time 0.1352/0.1878, allocations: 18.44 MB / 453.1 MB, free: 92.78 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.3671587058342993]