Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.2 MB / 245 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008096/0.0008096, allocations: 99.92 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002012/0.0002012, allocations: 8 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1746, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.2754, allocations: 100.6 MB / 0.4981 GB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.2757, allocations: 87.95 kB / 0.4982 GB, free: 5.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2257/0.5013, allocations: 30.72 MB / 0.5282 GB, free: 82.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5014, allocations: 4 kB / 0.5282 GB, free: 82.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.67e-05/0.5014, allocations: 24 kB / 0.5282 GB, free: 82.88 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.002905/0.5044, allocations: 1.557 MB / 0.5297 GB, free: 81.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5044, allocations: 12.03 kB / 0.5297 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.5051, allocations: 202.1 kB / 0.5299 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5067, allocations: 0.847 MB / 0.5307 GB, free: 80.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5068, allocations: 123.8 kB / 0.5309 GB, free: 80.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.507, allocations: 108 kB / 0.531 GB, free: 79.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.5087, allocations: 1.135 MB / 0.5321 GB, free: 78.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.5088, allocations: 3.906 kB / 0.5321 GB, free: 78.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.5089, allocations: 48 kB / 0.5321 GB, free: 78.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5089, allocations: 28 kB / 0.5321 GB, free: 78.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5103, allocations: 0.7847 MB / 0.5329 GB, free: 77.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.5153, allocations: 3.937 MB / 0.5368 GB, free: 73.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.5167, allocations: 0.6077 MB / 0.5373 GB, free: 73.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.5167, allocations: 8.469 kB / 0.5374 GB, free: 73.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.5173, allocations: 315.6 kB / 0.5377 GB, free: 72.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.156e-06/0.5173, allocations: 0 / 0.5377 GB, free: 72.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004008/0.5213, allocations: 2.113 MB / 0.5397 GB, free: 70.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5214, allocations: 475.2 kB / 0.5402 GB, free: 70.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5226, allocations: 0.9352 MB / 0.5411 GB, free: 69.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5226, allocations: 41.7 kB / 0.5411 GB, free: 69.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.523, allocations: 0.654 MB / 0.5418 GB, free: 68.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.5231, allocations: 236.6 kB / 0.542 GB, free: 68.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.5231, allocations: 20 kB / 0.542 GB, free: 68.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.5232, allocations: 345.9 kB / 0.5423 GB, free: 67.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.5237, allocations: 258.5 kB / 0.5426 GB, free: 67.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.5243, allocations: 0.7208 MB / 0.5433 GB, free: 66.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.5249, allocations: 418.3 kB / 0.5437 GB, free: 66.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.5249, allocations: 4 kB / 0.5437 GB, free: 66.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001834/0.5268, allocations: 1.161 MB / 0.5448 GB, free: 65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.5268, allocations: 71.39 kB / 0.5449 GB, free: 64.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5268, allocations: 12 kB / 0.5449 GB, free: 64.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.5274, allocations: 167.2 kB / 0.5451 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.528, allocations: 211.6 kB / 0.5453 GB, free: 64.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.531, allocations: 3.6 MB / 0.5488 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/0.5319, allocations: 72.09 kB / 0.5488 GB, free: 60.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.532, allocations: 63.77 kB / 0.5489 GB, free: 60.54 MB / 378.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004078/0.5324, allocations: 299.1 kB / 0.5492 GB, free: 60.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5325, allocations: 126.4 kB / 0.5493 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.5338, allocations: 0.7389 MB / 0.55 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5338, allocations: 8 kB / 0.55 GB, free: 59.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.5338, allocations: 0 / 0.55 GB, free: 59.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009857/0.5348, allocations: 0.9569 MB / 0.551 GB, free: 58.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.5373, allocations: 1.805 MB / 0.5527 GB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5373, allocations: 4 kB / 0.5527 GB, free: 56.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.5378, allocations: 116.1 kB / 0.5529 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/0.5382, allocations: 129.6 kB / 0.553 GB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.5382, allocations: 16 kB / 0.553 GB, free: 56.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.5406, allocations: 3.317 MB / 0.5562 GB, free: 52.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5406, allocations: 4.031 kB / 0.5562 GB, free: 52.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5422, allocations: 1.188 MB / 0.5574 GB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.5426, allocations: 247.6 kB / 0.5576 GB, free: 51.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.5428, allocations: 20 kB / 0.5577 GB, free: 51.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.5434, allocations: 51.91 kB / 0.5577 GB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5435, allocations: 52.48 kB / 0.5578 GB, free: 50.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.5436, allocations: 27.94 kB / 0.5578 GB, free: 50.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008234/0.5444, allocations: 0.7094 MB / 0.5585 GB, free: 50.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5444, allocations: 4 kB / 0.5585 GB, free: 50.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001132/0.5456, allocations: 360.1 kB / 0.5588 GB, free: 49.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/0.546, allocations: 353.7 kB / 0.5592 GB, free: 49.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.5477, allocations: 1.12 MB / 0.5603 GB, free: 48.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5477, allocations: 4.062 kB / 0.5603 GB, free: 48.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007373/0.5485, allocations: 0.5597 MB / 0.5608 GB, free: 47.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5496, allocations: 304.3 kB / 0.5611 GB, free: 47.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.5529, allocations: 2.735 MB / 0.5638 GB, free: 44.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5534, allocations: 1.121 MB / 0.5649 GB, free: 43.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.5539, allocations: 141.8 kB / 0.565 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.554, allocations: 75.44 kB / 0.5651 GB, free: 43.28 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5541, allocations: 4 kB / 0.5651 GB, free: 43.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02451/0.5786, allocations: 18.6 MB / 0.5832 GB, free: 24.87 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches