Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006725/0.006725, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 92.58 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004189, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3308, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.5136, allocations: 116.2 MB / 490.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.514, allocations: 91.95 kB / 490.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4253/0.9393, allocations: 42.72 MB / 0.521 GB, free: 95.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9393, allocations: 0 / 0.521 GB, free: 95.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.9395, allocations: 50.55 kB / 0.5211 GB, free: 95.8 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005229/0.9447, allocations: 1.926 MB / 0.5229 GB, free: 93.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.9448, allocations: 8.031 kB / 0.523 GB, free: 93.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.9461, allocations: 273.3 kB / 0.5232 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.9493, allocations: 1.18 MB / 0.5244 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.9494, allocations: 124 kB / 0.5245 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.9497, allocations: 167.9 kB / 0.5246 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.9537, allocations: 1.598 MB / 0.5262 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.406e-05/0.9538, allocations: 7.938 kB / 0.5262 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.954, allocations: 72 kB / 0.5263 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.954, allocations: 40 kB / 0.5263 GB, free: 90.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.9574, allocations: 1.113 MB / 0.5274 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.9697, allocations: 6.752 MB / 0.534 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.9725, allocations: 1.004 MB / 0.535 GB, free: 81.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.9726, allocations: 12.55 kB / 0.535 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.9727, allocations: 47.06 kB / 0.535 GB, free: 81.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 3.617e-06/0.9727, allocations: 0 / 0.535 GB, free: 81.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.005997/0.9787, allocations: 2.119 MB / 0.5371 GB, free: 78.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.9788, allocations: 85.67 kB / 0.5372 GB, free: 78.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.9809, allocations: 1.079 MB / 0.5382 GB, free: 77.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.992e-05/0.981, allocations: 41.7 kB / 0.5383 GB, free: 77.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.9815, allocations: 0.8687 MB / 0.5391 GB, free: 76.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.9817, allocations: 243.7 kB / 0.5394 GB, free: 76.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.9818, allocations: 24 kB / 0.5394 GB, free: 76.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.9819, allocations: 354.8 kB / 0.5397 GB, free: 76.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.9829, allocations: 314.5 kB / 0.54 GB, free: 75.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.9841, allocations: 0.7166 MB / 0.5407 GB, free: 74.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.9853, allocations: 430.9 kB / 0.5411 GB, free: 74.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.9853, allocations: 4 kB / 0.5411 GB, free: 74.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002827/0.9882, allocations: 1.103 MB / 0.5422 GB, free: 73.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000981/0.9892, allocations: 5.304 MB / 0.5474 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.9892, allocations: 19.94 kB / 0.5474 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.9895, allocations: 40.84 kB / 0.5475 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.9913, allocations: 275.6 kB / 0.5477 GB, free: 67.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009896/0.9923, allocations: 1.311 MB / 0.549 GB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.9938, allocations: 68.06 kB / 0.5491 GB, free: 65.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.9939, allocations: 60 kB / 0.5491 GB, free: 65.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.9939, allocations: 4 kB / 0.5491 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002306/0.9963, allocations: 0.9495 MB / 0.55 GB, free: 64.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.9963, allocations: 12 kB / 0.5501 GB, free: 64.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.9964, allocations: 40.84 kB / 0.5501 GB, free: 64.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.998, allocations: 260.1 kB / 0.5503 GB, free: 64.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/0.9989, allocations: 1.299 MB / 0.5516 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.9996, allocations: 48.23 kB / 0.5517 GB, free: 62.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.9997, allocations: 56 kB / 0.5517 GB, free: 62.92 MB / 378.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 () * Number of clocked 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.001005/1.001, allocations: 432.7 kB / 0.5521 GB, free: 62.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/1.001, allocations: 134.3 kB / 0.5523 GB, free: 62.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/1.003, allocations: 0.7244 MB / 0.553 GB, free: 61.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.003, allocations: 12 kB / 0.553 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.003, allocations: 3.984 kB / 0.553 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.003, allocations: 3.938 kB / 0.553 GB, free: 61.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/1.008, allocations: 2.136 MB / 0.5551 GB, free: 59.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/1.008, allocations: 4 kB / 0.5551 GB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.009, allocations: 144.1 kB / 0.5552 GB, free: 59.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/1.01, allocations: 32.73 kB / 0.5552 GB, free: 59.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/1.01, allocations: 20 kB / 0.5553 GB, free: 59.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/1.011, allocations: 1.276 MB / 0.5565 GB, free: 57.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.011, allocations: 4 kB / 0.5565 GB, free: 57.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/1.014, allocations: 1.265 MB / 0.5577 GB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/1.015, allocations: 267.3 kB / 0.558 GB, free: 56.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.015, allocations: 12 kB / 0.558 GB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.016, allocations: 59.95 kB / 0.5581 GB, free: 56.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.016, allocations: 44.47 kB / 0.5581 GB, free: 56.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/1.016, allocations: 23.98 kB / 0.5581 GB, free: 55.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001634/1.018, allocations: 0.8112 MB / 0.5589 GB, free: 55.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.018, allocations: 3.938 kB / 0.5589 GB, free: 55.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002609/1.02, allocations: 0.5508 MB / 0.5595 GB, free: 54.62 MB / 378.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 () * Number of clocked 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.0007064/1.021, allocations: 419.8 kB / 0.5599 GB, free: 54.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003873/1.025, allocations: 1.491 MB / 0.5613 GB, free: 52.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/1.025, allocations: 0 / 0.5613 GB, free: 52.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.026, allocations: 442.2 kB / 0.5617 GB, free: 52.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.029, allocations: 293 kB / 0.562 GB, free: 52.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/1.036, allocations: 3.524 MB / 0.5655 GB, free: 48.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/1.037, allocations: 1.268 MB / 0.5667 GB, free: 47.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/1.037, allocations: 91.38 kB / 0.5668 GB, free: 47.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/1.037, allocations: 0 / 0.5668 GB, free: 47.04 MB / 378.7 MB Notification: Performance of Templates: time 0.04299/1.08, allocations: 25.84 MB / 0.592 GB, free: 21.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/ControlledDCDrives/SpeedControlledDCPM/SpeedControlledDCPM.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches