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.001215/0.001215, allocations: 95.5 kB / 20.93 MB, free: 3.598 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.001476/0.001476, allocations: 156.5 kB / 24.23 MB, free: 312 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.068/1.068, allocations: 177 MB / 204.5 MB, free: 5.234 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.2694/0.2694, allocations: 34.86 MB / 295.8 MB, free: 0.5234 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.753e-06/1.753e-06, allocations: 0 / 378.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.896e-05, allocations: 2.312 kB / 378.1 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008077/0.008106, allocations: 9.661 MB / 387.7 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.01194, allocations: 3.096 MB / 390.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.01246, allocations: 35.81 kB / 390.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009644/0.01343, allocations: 0.5625 MB / 391.4 MB, free: 4.898 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.01423, allocations: 0.6085 MB / 392 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.01462, allocations: 327.4 kB / 392.4 MB, free: 3.965 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.01616, allocations: 1.835 MB / 394.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.01665, allocations: 425.3 kB / 394.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008447/0.0175, allocations: 1.041 MB / 395.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.01801, allocations: 0.5648 MB / 396.2 MB, free: 80 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.01816, allocations: 160 kB / 396.4 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.01841, allocations: 203.8 kB / 396.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.01858, allocations: 342.7 kB / 396.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.01895, allocations: 0.5651 MB / 397.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009449/0.0199, allocations: 1.164 MB / 398.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.0199, allocations: 0 / 398.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.0199, allocations: 0 / 398.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.01992, allocations: 0 / 398.6 MB, free: 13.65 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.002008/0.02192, allocations: 1.871 MB / 400.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.02196, allocations: 8.031 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.02234, allocations: 295.9 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.02316, allocations: 0.7667 MB / 401.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.02327, allocations: 163.8 kB / 401.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.02337, allocations: 124.3 kB / 401.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.0245, allocations: 1.363 MB / 403.2 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.02453, allocations: 7.922 kB / 403.2 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.02459, allocations: 48 kB / 403.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.0246, allocations: 28 kB / 403.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.02524, allocations: 427.5 kB / 403.7 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.0283, allocations: 3.325 MB / 407 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.0295, allocations: 400.8 kB / 407.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.02976, allocations: 153.5 kB / 407.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.0298, allocations: 8.5 kB / 407.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.03023, allocations: 242 kB / 407.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.877e-06/0.03023, allocations: 3.984 kB / 407.8 MB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003289/0.03352, allocations: 1.453 MB / 409.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.03373, allocations: 483.3 kB / 409.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.035, allocations: 0.9464 MB / 410.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.03506, allocations: 41.7 kB / 410.7 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007595/0.03582, allocations: 0.7287 MB / 411.5 MB, free: 100 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.03605, allocations: 246.1 kB / 411.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.0363, allocations: 200.5 kB / 411.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.03646, allocations: 0.5121 MB / 412.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.0368, allocations: 185.9 kB / 412.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/0.03763, allocations: 1.226 MB / 413.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.03869, allocations: 0.8778 MB / 414.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.0387, allocations: 7.938 kB / 414.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001768/0.04047, allocations: 0.9983 MB / 415.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.04053, allocations: 67.41 kB / 415.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.04055, allocations: 15.94 kB / 415.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.04105, allocations: 151.7 kB / 415.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.04161, allocations: 203.7 kB / 416.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.04564, allocations: 4.349 MB / 420.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.0463, allocations: 68.11 kB / 420.6 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.04635, allocations: 44 kB / 420.6 MB, free: 6.016 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.0003333/0.04668, allocations: 236.3 kB / 420.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.04682, allocations: 135.2 kB / 421 MB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.04755, allocations: 0.5148 MB / 421.5 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.04756, allocations: 8 kB / 421.5 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.04756, allocations: 0 / 421.5 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006351/0.0482, allocations: 0.7849 MB / 422.3 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.04991, allocations: 1.41 MB / 423.7 MB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.04992, allocations: 4 kB / 423.7 MB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.05017, allocations: 103.8 kB / 423.8 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.05045, allocations: 125.9 kB / 423.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.05047, allocations: 12 kB / 423.9 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.0527, allocations: 4.169 MB / 428.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.0527, allocations: 4.094 kB / 428.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009528/0.05366, allocations: 0.8283 MB / 428.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.05394, allocations: 167.2 kB / 429.1 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.05402, allocations: 20 kB / 429.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.05431, allocations: 35.97 kB / 429.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.05444, allocations: 60.28 kB / 429.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.05447, allocations: 27.98 kB / 429.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005668/0.05503, allocations: 0.5641 MB / 429.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05503, allocations: 0 / 429.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008173/0.05585, allocations: 308 kB / 430.1 MB, free: 11.98 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.000205/0.05606, allocations: 131.1 kB / 430.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.05724, allocations: 1.07 MB / 431.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.05725, allocations: 4 kB / 431.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.05773, allocations: 0.5755 MB / 431.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.05852, allocations: 290.1 kB / 432.1 MB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.06136, allocations: 2.057 MB / 434.2 MB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.06151, allocations: 205.5 kB / 434.4 MB, free: 7.453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.06184, allocations: 132.6 kB / 434.5 MB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.06195, allocations: 76.48 kB / 434.6 MB, free: 7.246 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.06196, allocations: 0 / 434.6 MB, free: 7.246 MB / 410.7 MB Notification: Performance of Templates: time 0.1531/0.215, allocations: 17.2 MB / 451.8 MB, free: 98.98 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.6495100611355156]