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.0016/0.0016, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007545/0.0007545, allocations: 103.4 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.603e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09427, allocations: 51.47 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.389, allocations: 99.88 MB / 495 MB, free: 9.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.3893, allocations: 83.94 kB / 495.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07546/0.4647, allocations: 30.31 MB / 0.5131 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4648, allocations: 0 / 0.5131 GB, free: 136 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.765e-05/0.4648, allocations: 28 kB / 0.5131 GB, free: 108 kB / 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.00226/0.4671, allocations: 1.363 MB / 0.5145 GB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4672, allocations: 12.03 kB / 0.5145 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.4677, allocations: 202.1 kB / 0.5147 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.4691, allocations: 0.848 MB / 0.5155 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.4692, allocations: 91.77 kB / 0.5156 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.4693, allocations: 63.91 kB / 0.5157 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/0.4705, allocations: 0.6369 MB / 0.5163 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.4719, allocations: 0.9276 MB / 0.5172 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.472, allocations: 0 / 0.5172 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.472, allocations: 4 kB / 0.5172 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4721, allocations: 28 kB / 0.5172 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004894/0.477, allocations: 3.739 MB / 0.5209 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4782, allocations: 0.5071 MB / 0.5214 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.4785, allocations: 219 kB / 0.5216 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.4785, allocations: 17.28 kB / 0.5216 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.479, allocations: 254 kB / 0.5218 GB, free: 6.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 1.844e-06/0.479, allocations: 0 / 0.5218 GB, free: 6.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.002267/0.4812, allocations: 1.402 MB / 0.5232 GB, free: 5.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.4814, allocations: 483.2 kB / 0.5237 GB, free: 4.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.4823, allocations: 0.7402 MB / 0.5244 GB, free: 4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.4824, allocations: 33.7 kB / 0.5244 GB, free: 3.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.4828, allocations: 0.65 MB / 0.5251 GB, free: 3.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.483, allocations: 228.6 kB / 0.5253 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.483, allocations: 4 kB / 0.5253 GB, free: 3.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4831, allocations: 345.9 kB / 0.5256 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.4835, allocations: 194.6 kB / 0.5258 GB, free: 2.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.4841, allocations: 0.6501 MB / 0.5264 GB, free: 1.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.4845, allocations: 304.3 kB / 0.5267 GB, free: 1.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4845, allocations: 4 kB / 0.5267 GB, free: 1.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001572/0.4861, allocations: 0.9461 MB / 0.5276 GB, free: 432 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.4862, allocations: 63.39 kB / 0.5277 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4862, allocations: 12 kB / 0.5277 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.4868, allocations: 181.8 kB / 0.5279 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.4875, allocations: 215.6 kB / 0.5281 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.4912, allocations: 3.403 MB / 0.5314 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.4921, allocations: 64.08 kB / 0.5315 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.4921, allocations: 47.94 kB / 0.5315 GB, free: 12.2 MB / 410.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 () * 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: 2 {(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.4923, allocations: 145.9 kB / 0.5317 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.4925, allocations: 110.7 kB / 0.5318 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4937, allocations: 0.6322 MB / 0.5324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4937, allocations: 4 kB / 0.5324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4937, allocations: 4 kB / 0.5324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.4948, allocations: 0.8903 MB / 0.5333 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.4972, allocations: 1.587 MB / 0.5348 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.4972, allocations: 4 kB / 0.5348 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.4977, allocations: 107.9 kB / 0.5349 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/0.4981, allocations: 141.8 kB / 0.5351 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.4981, allocations: 7.953 kB / 0.5351 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.5008, allocations: 3.143 MB / 0.5381 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5009, allocations: 4.25 kB / 0.5381 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.5023, allocations: 1.042 MB / 0.5392 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5026, allocations: 235.8 kB / 0.5394 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5028, allocations: 7.984 kB / 0.5394 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.5033, allocations: 35.92 kB / 0.5394 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5034, allocations: 56.48 kB / 0.5395 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.5034, allocations: 16 kB / 0.5395 GB, free: 3.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006975/0.5041, allocations: 0.5528 MB / 0.54 GB, free: 2.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5042, allocations: 0 / 0.54 GB, free: 2.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.5052, allocations: 292 kB / 0.5403 GB, free: 2.648 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.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) * 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.0004303/0.5056, allocations: 316.6 kB / 0.5406 GB, free: 2.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.5073, allocations: 0.9633 MB / 0.5415 GB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5073, allocations: 0 / 0.5415 GB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.508, allocations: 497.2 kB / 0.542 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5091, allocations: 256.3 kB / 0.5423 GB, free: 0.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.5117, allocations: 1.573 MB / 0.5438 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.5123, allocations: 1.108 MB / 0.5449 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.5128, allocations: 124.7 kB / 0.545 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.513, allocations: 71.42 kB / 0.5451 GB, free: 13.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.513, allocations: 4 kB / 0.5451 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Templates: time 0.02329/0.5363, allocations: 14.33 MB / 0.5591 GB, free: 15.51 MB / 442.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