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.0009793/0.0009793, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.000915/0.000915, allocations: 161.1 kB / 24.99 MB, free: 8.801 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.9084/0.9084, allocations: 177 MB / 205.2 MB, free: 5.621 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.2616/0.2616, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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 2.134e-06/2.134e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.844e-05, allocations: 6.25 kB / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007792/0.007821, allocations: 9.657 MB / 388.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003823/0.01164, allocations: 3.1 MB / 391.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.01229, allocations: 27.88 kB / 391.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01331, allocations: 0.5703 MB / 392.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008105/0.01412, allocations: 0.6123 MB / 392.8 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.01461, allocations: 323.4 kB / 393.1 MB, free: 3.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01592, allocations: 1.828 MB / 395 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.01639, allocations: 429.3 kB / 395.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.01735, allocations: 1.041 MB / 396.4 MB, free: 0.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.01788, allocations: 0.5648 MB / 397 MB, free: 104 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.01803, allocations: 156 kB / 397.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.01828, allocations: 199.9 kB / 397.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.01846, allocations: 342.7 kB / 397.7 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.01885, allocations: 0.5729 MB / 398.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.02005, allocations: 1.156 MB / 399.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02006, allocations: 3.938 kB / 399.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02006, allocations: 0 / 399.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.02007, allocations: 0 / 399.4 MB, free: 13.68 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.001834/0.0219, allocations: 1.875 MB / 401.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.02194, allocations: 12.03 kB / 401.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.02235, allocations: 287.9 kB / 401.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.0232, allocations: 0.7707 MB / 402.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.02331, allocations: 163.8 kB / 402.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.02341, allocations: 124.3 kB / 402.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.02452, allocations: 1.367 MB / 404 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.02455, allocations: 7.938 kB / 404 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.0246, allocations: 44 kB / 404 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.02462, allocations: 28 kB / 404.1 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.02527, allocations: 427.6 kB / 404.5 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.02847, allocations: 3.313 MB / 407.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.02921, allocations: 409.2 kB / 408.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.02941, allocations: 157.5 kB / 408.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.02944, allocations: 12.5 kB / 408.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.02974, allocations: 237.5 kB / 408.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.02974, allocations: 0 / 408.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002219/0.03196, allocations: 1.461 MB / 410 MB, free: 2.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.0321, allocations: 475.3 kB / 410.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.0329, allocations: 0.9503 MB / 411.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.03294, allocations: 37.7 kB / 411.5 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.03329, allocations: 0.7325 MB / 412.2 MB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.03343, allocations: 246.1 kB / 412.5 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.0336, allocations: 200.5 kB / 412.7 MB, free: 15.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003785/0.03398, allocations: 0.5082 MB / 413.2 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.03421, allocations: 181.9 kB / 413.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.03483, allocations: 1.224 MB / 414.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.03552, allocations: 0.8778 MB / 415.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.03552, allocations: 8 kB / 415.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001109/0.03663, allocations: 0.9947 MB / 416.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.03669, allocations: 67.39 kB / 416.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.0367, allocations: 15.94 kB / 416.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.03707, allocations: 153.7 kB / 416.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.03745, allocations: 203.6 kB / 416.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.04033, allocations: 4.368 MB / 421.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.04076, allocations: 55.94 kB / 421.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.0408, allocations: 48.12 kB / 421.4 MB, free: 6.043 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.0002431/0.04104, allocations: 236.3 kB / 421.6 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.04116, allocations: 139.2 kB / 421.7 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.04188, allocations: 0.511 MB / 422.2 MB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.04189, allocations: 8 kB / 422.2 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.04189, allocations: 0 / 422.2 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006179/0.04251, allocations: 0.781 MB / 423 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.044, allocations: 1.418 MB / 424.4 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.044, allocations: 0 / 424.4 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.04425, allocations: 99.89 kB / 424.5 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.0445, allocations: 123.2 kB / 424.7 MB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.04452, allocations: 19.98 kB / 424.7 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.04693, allocations: 4.161 MB / 428.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.04693, allocations: 8 kB / 428.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.04773, allocations: 0.8362 MB / 429.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.04794, allocations: 163.2 kB / 429.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.04801, allocations: 15.98 kB / 429.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.04829, allocations: 31.98 kB / 429.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.04839, allocations: 60.33 kB / 430 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.04841, allocations: 16 kB / 430 MB, free: 12.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005164/0.04893, allocations: 0.5719 MB / 430.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04893, allocations: 4 kB / 430.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006476/0.04957, allocations: 304 kB / 430.8 MB, free: 12.02 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.0001931/0.04977, allocations: 139 kB / 431 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.05082, allocations: 1.071 MB / 432 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.05082, allocations: 3.938 kB / 432.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.05125, allocations: 0.5669 MB / 432.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.052, allocations: 298.2 kB / 432.9 MB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.05482, allocations: 2.053 MB / 435 MB, free: 7.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.05497, allocations: 209.5 kB / 435.2 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.05527, allocations: 132.6 kB / 435.3 MB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.05539, allocations: 72.5 kB / 435.4 MB, free: 7.277 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/0.05539, allocations: 0 / 435.4 MB, free: 7.277 MB / 410.7 MB Notification: Performance of Templates: time 0.1387/0.194, allocations: 17.21 MB / 452.6 MB, free: 99.2 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.5026522011030465]