Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.00151, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 105.2 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.689e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09734, allocations: 51.47 MB / 395.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4119, allocations: 117.9 MB / 0.5011 GB, free: 7.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.4121, allocations: 92.56 kB / 0.5012 GB, free: 7.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.5147, allocations: 41.81 MB / 0.542 GB, free: 2.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5148, allocations: 0 / 0.542 GB, free: 2.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.5149, allocations: 44 kB / 0.542 GB, free: 2.586 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.003196/0.5181, allocations: 1.686 MB / 0.5437 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5182, allocations: 12.03 kB / 0.5437 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.519, allocations: 265.4 kB / 0.5439 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.5212, allocations: 1.142 MB / 0.5451 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.5213, allocations: 52 kB / 0.5451 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.5215, allocations: 111.9 kB / 0.5452 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001739/0.5233, allocations: 0.8657 MB / 0.5461 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.5255, allocations: 1.259 MB / 0.5473 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.5256, allocations: 4 kB / 0.5473 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.5257, allocations: 0 / 0.5473 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.5257, allocations: 40 kB / 0.5473 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008291/0.534, allocations: 6.369 MB / 0.5535 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.5354, allocations: 0.853 MB / 0.5544 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.5358, allocations: 234.5 kB / 0.5546 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.5359, allocations: 8.562 kB / 0.5546 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5359, allocations: 39.12 kB / 0.5547 GB, free: 5.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.5359, allocations: 0 / 0.5547 GB, free: 5.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.002766/0.5387, allocations: 1.44 MB / 0.5561 GB, free: 3.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.5388, allocations: 81.67 kB / 0.5561 GB, free: 3.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.5402, allocations: 0.8894 MB / 0.557 GB, free: 2.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.5402, allocations: 25.7 kB / 0.557 GB, free: 2.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.5409, allocations: 0.8987 MB / 0.5579 GB, free: 1.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.5411, allocations: 228.7 kB / 0.5581 GB, free: 1.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.5412, allocations: 0 / 0.5581 GB, free: 1.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5413, allocations: 353.9 kB / 0.5585 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.5417, allocations: 222.6 kB / 0.5587 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.5423, allocations: 0.6165 MB / 0.5593 GB, free: 80 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.5429, allocations: 332.3 kB / 0.5596 GB, free: 15.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5429, allocations: 7.938 kB / 0.5596 GB, free: 15.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001538/0.5444, allocations: 0.9143 MB / 0.5605 GB, free: 14.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002125/0.5466, allocations: 5.328 MB / 0.5657 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.5466, allocations: 12 kB / 0.5657 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.5468, allocations: 36.86 kB / 0.5657 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.5477, allocations: 279.5 kB / 0.566 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/0.5487, allocations: 1.255 MB / 0.5672 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.5495, allocations: 55.92 kB / 0.5673 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.5496, allocations: 48 kB / 0.5673 GB, free: 7.301 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.5496, allocations: 4 kB / 0.5673 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/0.5508, allocations: 0.7375 MB / 0.5681 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5508, allocations: 12.94 kB / 0.5681 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-05/0.5509, allocations: 48.84 kB / 0.5681 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.5518, allocations: 251.6 kB / 0.5684 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007845/0.5525, allocations: 1.249 MB / 0.5696 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.5532, allocations: 27.98 kB / 0.5696 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.5533, allocations: 51.94 kB / 0.5697 GB, free: 4.805 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 3 (speedController.integrator.local_reset,currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.5535, allocations: 150.5 kB / 0.5698 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.5537, allocations: 126.4 kB / 0.5699 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/0.5546, allocations: 0.5323 MB / 0.5704 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.5546, allocations: 8 kB / 0.5704 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5546, allocations: 0 / 0.5704 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5546, allocations: 3.984 kB / 0.5704 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.5572, allocations: 1.755 MB / 0.5722 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5572, allocations: 0 / 0.5722 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.5578, allocations: 143.8 kB / 0.5723 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.5579, allocations: 24.84 kB / 0.5723 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.558, allocations: 8.062 kB / 0.5723 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/0.5587, allocations: 1.221 MB / 0.5735 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5587, allocations: 4.156 kB / 0.5735 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.233/0.7917, allocations: 0.9927 MB / 0.5745 GB, free: 93.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.7922, allocations: 247.5 kB / 0.5747 GB, free: 93.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.7924, allocations: 11.36 kB / 0.5747 GB, free: 93.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.793, allocations: 47.92 kB / 0.5748 GB, free: 93.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.7931, allocations: 50.42 kB / 0.5748 GB, free: 93.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.7932, allocations: 23.22 kB / 0.5749 GB, free: 93.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000865/0.794, allocations: 0.6495 MB / 0.5755 GB, free: 93.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7941, allocations: 0 / 0.5755 GB, free: 93.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001409/0.7955, allocations: 460.2 kB / 0.5759 GB, free: 93.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (loadInertia.phi,loadInertia.w,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,currentController.integrator.y,speedController.integrator.y,preFilter.y,slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000445/0.7959, allocations: 360.2 kB / 0.5763 GB, free: 93.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.7974, allocations: 1.244 MB / 0.5775 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7974, allocations: 3.281 kB / 0.5775 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.7978, allocations: 345.9 kB / 0.5778 GB, free: 93.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7989, allocations: 266.8 kB / 0.5781 GB, free: 93.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.802, allocations: 2.048 MB / 0.5801 GB, free: 92.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.8026, allocations: 1.269 MB / 0.5813 GB, free: 91.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009282/0.8035, allocations: 214.7 kB / 0.5815 GB, free: 91.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.8036, allocations: 64.88 kB / 0.5816 GB, free: 91.68 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.8036, allocations: 3.031 kB / 0.5816 GB, free: 91.68 MB / 442.7 MB Notification: Performance of Templates: time 0.02058/0.8242, allocations: 14.44 MB / 0.5957 GB, free: 90.86 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/SpeedControlledDCPM/SpeedControlledDCPM.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches