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.001016/0.001016, allocations: 200.6 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009137/0.0009136, allocations: 91.69 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002157/0.0002156, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2274, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3546, allocations: 100.6 MB / 0.4981 GB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.355, allocations: 87.94 kB / 0.4981 GB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2461/0.6012, allocations: 30.63 MB / 0.5281 GB, free: 85.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6012, allocations: 0 / 0.5281 GB, free: 85.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.594e-05/0.6013, allocations: 28 kB / 0.5281 GB, free: 85.21 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.002846/0.6042, allocations: 1.537 MB / 0.5296 GB, free: 83.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6042, allocations: 8.031 kB / 0.5296 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.6049, allocations: 203 kB / 0.5298 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.6066, allocations: 0.8887 MB / 0.5307 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6067, allocations: 112.4 kB / 0.5308 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.6069, allocations: 112.4 kB / 0.5309 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.6088, allocations: 1.143 MB / 0.532 GB, free: 81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.45e-05/0.609, allocations: 15.84 kB / 0.532 GB, free: 80.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6091, allocations: 48 kB / 0.532 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6091, allocations: 24 kB / 0.5321 GB, free: 80.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.6105, allocations: 0.7808 MB / 0.5328 GB, free: 80.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.616, allocations: 3.934 MB / 0.5367 GB, free: 76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.6175, allocations: 0.6123 MB / 0.5373 GB, free: 75.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.618, allocations: 278.9 kB / 0.5375 GB, free: 75.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.6181, allocations: 16.48 kB / 0.5375 GB, free: 75.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.6186, allocations: 307.1 kB / 0.5378 GB, free: 74.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.506e-06/0.6186, allocations: 0 / 0.5378 GB, free: 74.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00425/0.6229, allocations: 2.12 MB / 0.5399 GB, free: 72.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.623, allocations: 487.2 kB / 0.5404 GB, free: 71.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6244, allocations: 1.062 MB / 0.5414 GB, free: 70.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.6244, allocations: 37.7 kB / 0.5414 GB, free: 70.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.6248, allocations: 0.6582 MB / 0.5421 GB, free: 70.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.625, allocations: 236.7 kB / 0.5423 GB, free: 69.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.6251, allocations: 20 kB / 0.5423 GB, free: 69.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.6251, allocations: 345.9 kB / 0.5427 GB, free: 69.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.6256, allocations: 258.5 kB / 0.5429 GB, free: 69.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.6262, allocations: 0.717 MB / 0.5436 GB, free: 68.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6274, allocations: 0.9648 MB / 0.5446 GB, free: 67.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6274, allocations: 4 kB / 0.5446 GB, free: 67.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0019/0.6293, allocations: 1.165 MB / 0.5457 GB, free: 66.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.6293, allocations: 63.41 kB / 0.5458 GB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6294, allocations: 12 kB / 0.5458 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/0.6299, allocations: 173.7 kB / 0.5459 GB, free: 65.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.6305, allocations: 211.6 kB / 0.5461 GB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.6336, allocations: 3.555 MB / 0.5496 GB, free: 61.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6347, allocations: 83.97 kB / 0.5497 GB, free: 61.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.6348, allocations: 48 kB / 0.5497 GB, free: 61.68 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.0005685/0.6354, allocations: 301.5 kB / 0.55 GB, free: 61.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6356, allocations: 130.5 kB / 0.5501 GB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.6371, allocations: 0.7311 MB / 0.5509 GB, free: 60.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6371, allocations: 4 kB / 0.5509 GB, free: 60.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.6371, allocations: 0 / 0.5509 GB, free: 60.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.6381, allocations: 0.9608 MB / 0.5518 GB, free: 59.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.6411, allocations: 1.817 MB / 0.5536 GB, free: 57.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6411, allocations: 8.219 kB / 0.5536 GB, free: 57.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.6416, allocations: 107.9 kB / 0.5537 GB, free: 57.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/0.642, allocations: 129.6 kB / 0.5538 GB, free: 57.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.642, allocations: 23.92 kB / 0.5538 GB, free: 57.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.6445, allocations: 3.264 MB / 0.557 GB, free: 53.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6445, allocations: 7.938 kB / 0.557 GB, free: 53.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.6463, allocations: 1.096 MB / 0.5581 GB, free: 52.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.6468, allocations: 247.6 kB / 0.5583 GB, free: 52.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.6471, allocations: 23.94 kB / 0.5584 GB, free: 52.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.6477, allocations: 39.97 kB / 0.5584 GB, free: 52.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6479, allocations: 68.53 kB / 0.5585 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.6479, allocations: 20 kB / 0.5585 GB, free: 52.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.649, allocations: 0.7171 MB / 0.5592 GB, free: 51.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.649, allocations: 0 / 0.5592 GB, free: 51.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001347/0.6503, allocations: 360 kB / 0.5595 GB, free: 51.09 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.0004723/0.6508, allocations: 352.3 kB / 0.5599 GB, free: 50.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.6526, allocations: 1.118 MB / 0.561 GB, free: 49.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6526, allocations: 0 / 0.561 GB, free: 49.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.6534, allocations: 0.569 MB / 0.5615 GB, free: 48.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.6551, allocations: 314.5 kB / 0.5618 GB, free: 48.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.6585, allocations: 2.726 MB / 0.5645 GB, free: 45.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.659, allocations: 1.089 MB / 0.5655 GB, free: 44.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005845/0.6596, allocations: 141.8 kB / 0.5657 GB, free: 44.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.6598, allocations: 79.42 kB / 0.5657 GB, free: 44.56 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6598, allocations: 0 / 0.5657 GB, free: 44.56 MB / 378.7 MB Notification: Performance of Templates: time 0.02846/0.6882, allocations: 18.98 MB / 0.5843 GB, free: 25.77 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/jenkins1/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