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.0009577/0.0009577, allocations: 91.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.0009563/0.0009563, 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 0.9577/0.9577, allocations: 177 MB / 204.8 MB, free: 5.605 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.2555/0.2555, allocations: 34.87 MB / 296.3 MB, free: 472 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.763e-06/1.763e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.178e-05, allocations: 3.156 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00771/0.007732, allocations: 9.704 MB / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.01137, allocations: 3.096 MB / 391.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.01177, allocations: 27.88 kB / 391.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.01272, allocations: 0.5703 MB / 392.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.01341, allocations: 0.6123 MB / 392.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.01377, allocations: 323.4 kB / 393.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01486, allocations: 1.839 MB / 395 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.01534, allocations: 421.3 kB / 395.4 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.0161, allocations: 1.045 MB / 396.5 MB, free: 256 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.01659, allocations: 0.5686 MB / 397.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.01673, allocations: 156 kB / 397.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.01695, allocations: 200 kB / 397.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.01713, allocations: 346.7 kB / 397.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.0175, allocations: 0.5612 MB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01854, allocations: 1.156 MB / 399.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01854, allocations: 3.938 kB / 399.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01854, allocations: 3.984 kB / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.01855, allocations: 4 kB / 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.001897/0.02045, allocations: 1.878 MB / 401.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.02049, allocations: 8.031 kB / 401.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.02089, allocations: 299.9 kB / 401.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.02173, allocations: 0.7551 MB / 402.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.02184, allocations: 163.8 kB / 402.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.02195, allocations: 124.3 kB / 402.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.02307, allocations: 1.363 MB / 404 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.0231, allocations: 11.94 kB / 404.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.02315, allocations: 44 kB / 404.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.02317, allocations: 24 kB / 404.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.02379, allocations: 427.6 kB / 404.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.02717, allocations: 3.313 MB / 407.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.02789, allocations: 413.2 kB / 408.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.02808, allocations: 149.5 kB / 408.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.02811, allocations: 12.5 kB / 408.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.02839, allocations: 237.5 kB / 408.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.743e-06/0.02839, allocations: 0 / 408.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002079/0.03047, allocations: 1.457 MB / 410.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.03061, allocations: 483.3 kB / 410.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.03138, allocations: 0.9464 MB / 411.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.03141, allocations: 37.7 kB / 411.6 MB, free: 464 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.03177, allocations: 0.7327 MB / 412.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.03189, allocations: 237.9 kB / 412.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.03211, allocations: 208.5 kB / 412.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.03222, allocations: 0.5121 MB / 413.2 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.03245, allocations: 181.9 kB / 413.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.03305, allocations: 1.22 MB / 414.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.03373, allocations: 0.8817 MB / 415.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.03374, allocations: 7.938 kB / 415.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001046/0.03478, allocations: 0.9947 MB / 416.5 MB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.03483, allocations: 67.41 kB / 416.6 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.03484, allocations: 11.98 kB / 416.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.03524, allocations: 154 kB / 416.8 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.03561, allocations: 207.6 kB / 417 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.03869, allocations: 4.362 MB / 421.3 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.03905, allocations: 64.05 kB / 421.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.03909, allocations: 44 kB / 421.4 MB, free: 5.625 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.0002265/0.03932, allocations: 232.3 kB / 421.6 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.03943, allocations: 139.2 kB / 421.8 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.0401, allocations: 0.511 MB / 422.3 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.04011, allocations: 12 kB / 422.3 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.04011, allocations: 0 / 422.3 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006345/0.04075, allocations: 0.7771 MB / 423.1 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.04224, allocations: 1.414 MB / 424.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.04225, allocations: 0 / 424.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.04249, allocations: 103.9 kB / 424.6 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.04275, allocations: 130.4 kB / 424.7 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.04277, allocations: 12 kB / 424.7 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.04544, allocations: 4.178 MB / 428.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.04544, allocations: 0 / 428.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.04631, allocations: 0.8323 MB / 429.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.04653, allocations: 167.1 kB / 429.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.04659, allocations: 16 kB / 429.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.04686, allocations: 31.97 kB / 430 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.04697, allocations: 60.33 kB / 430 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.04699, allocations: 20 kB / 430 MB, free: 12.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005146/0.04751, allocations: 0.5719 MB / 430.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04751, allocations: 0 / 430.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.04815, allocations: 304 kB / 430.9 MB, free: 11.59 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.0002364/0.04838, allocations: 139 kB / 431 MB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.04949, allocations: 1.074 MB / 432.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.0495, allocations: 4 kB / 432.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.04993, allocations: 0.5672 MB / 432.7 MB, free: 9.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.05066, allocations: 289.8 kB / 433 MB, free: 9.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.05352, allocations: 2.054 MB / 435 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.05366, allocations: 209.5 kB / 435.2 MB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.05392, allocations: 128.6 kB / 435.4 MB, free: 6.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.05404, allocations: 80.48 kB / 435.4 MB, free: 6.855 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.05404, allocations: 4 kB / 435.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of Templates: time 0.1516/0.2057, allocations: 17.21 MB / 452.6 MB, free: 93.99 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.5882242280058563]