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.0009023/0.0009023, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001361/0.001361, allocations: 166.9 kB / 24.99 MB, free: 8.215 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.9834/0.9834, allocations: 177 MB / 205.2 MB, free: 5.066 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.2494/0.2494, allocations: 34.85 MB / 296.6 MB, free: 0.5117 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.463e-06/1.463e-06, allocations: 0 / 378 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.666e-05, allocations: 2.312 kB / 378 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008035/0.008052, allocations: 9.669 MB / 387.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.01141, allocations: 3.084 MB / 390.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.01188, allocations: 31.88 kB / 390.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009598/0.01284, allocations: 0.5781 MB / 391.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007333/0.01358, allocations: 0.6045 MB / 392 MB, free: 5.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.01396, allocations: 323.4 kB / 392.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.01533, allocations: 1.843 MB / 394.2 MB, free: 2.906 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.01581, allocations: 425.3 kB / 394.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.01669, allocations: 1.037 MB / 395.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.01722, allocations: 0.5726 MB / 396.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.01737, allocations: 160 kB / 396.4 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.0176, allocations: 195.9 kB / 396.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01778, allocations: 346.6 kB / 396.9 MB, free: 172 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.01818, allocations: 0.5651 MB / 397.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009575/0.01914, allocations: 1.16 MB / 398.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01914, allocations: 0 / 398.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01914, allocations: 0 / 398.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.01916, allocations: 0 / 398.6 MB, free: 14.44 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.02105, allocations: 1.875 MB / 400.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.02109, allocations: 8.031 kB / 400.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.02162, allocations: 299.9 kB / 400.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.02247, allocations: 0.7512 MB / 401.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.02258, allocations: 167.8 kB / 401.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.02269, allocations: 128.3 kB / 401.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.02384, allocations: 1.363 MB / 403.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.02386, allocations: 7.875 kB / 403.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.02392, allocations: 48 kB / 403.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.02394, allocations: 28 kB / 403.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.0246, allocations: 427.5 kB / 403.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.02777, allocations: 3.317 MB / 407 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.02852, allocations: 409.2 kB / 407.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.02872, allocations: 149.5 kB / 407.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.02876, allocations: 16.48 kB / 407.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.02908, allocations: 233.7 kB / 407.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.923e-06/0.02908, allocations: 4 kB / 407.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002239/0.03132, allocations: 1.461 MB / 409.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.03146, allocations: 475.3 kB / 409.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.03228, allocations: 0.9464 MB / 410.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.03232, allocations: 41.7 kB / 410.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.03269, allocations: 0.7325 MB / 411.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.03286, allocations: 242 kB / 411.7 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.03304, allocations: 200.5 kB / 411.9 MB, free: 452 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.03316, allocations: 0.5082 MB / 412.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.03339, allocations: 189.9 kB / 412.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.03399, allocations: 1.224 MB / 413.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.03467, allocations: 0.8816 MB / 414.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.03468, allocations: 4 kB / 414.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001061/0.03574, allocations: 1.002 MB / 415.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.03578, allocations: 63.41 kB / 415.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.03579, allocations: 12 kB / 415.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.03615, allocations: 156.8 kB / 415.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.03652, allocations: 203.7 kB / 416.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.03907, allocations: 4.367 MB / 420.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.03945, allocations: 60.12 kB / 420.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.03949, allocations: 47.98 kB / 420.6 MB, free: 6.797 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.0002016/0.03969, allocations: 236.3 kB / 420.8 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.0398, allocations: 135.2 kB / 420.9 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.04045, allocations: 0.5149 MB / 421.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.04045, allocations: 4 kB / 421.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.04045, allocations: 0 / 421.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/0.04105, allocations: 0.7849 MB / 422.2 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.0425, allocations: 1.41 MB / 423.7 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.04251, allocations: 4 kB / 423.7 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.04276, allocations: 95.89 kB / 423.7 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.043, allocations: 127.4 kB / 423.9 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.04302, allocations: 15.98 kB / 423.9 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.04527, allocations: 4.165 MB / 428.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.04527, allocations: 8.156 kB / 428.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.04606, allocations: 0.8243 MB / 428.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.04627, allocations: 167.2 kB / 429.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.04634, allocations: 24 kB / 429.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.04661, allocations: 27.98 kB / 429.1 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.0467, allocations: 60.33 kB / 429.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.04673, allocations: 27.98 kB / 429.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004893/0.04722, allocations: 0.5641 MB / 429.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04722, allocations: 0 / 429.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.0478, allocations: 311.9 kB / 430.1 MB, free: 12.77 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.0001639/0.04797, allocations: 127.1 kB / 430.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.04897, allocations: 1.078 MB / 431.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.04897, allocations: 3.938 kB / 431.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.04941, allocations: 0.5756 MB / 431.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.05011, allocations: 288.6 kB / 432.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.05275, allocations: 2.095 MB / 434.2 MB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.05309, allocations: 0.4929 MB / 434.7 MB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.05323, allocations: 76.48 kB / 434.8 MB, free: 7.816 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.05323, allocations: 0 / 434.8 MB, free: 7.816 MB / 410.7 MB Notification: Performance of Templates: time 0.1259/0.1792, allocations: 26.03 MB / 460.8 MB, free: 97.01 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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.805218223948032]