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.001741/0.001741, allocations: 182.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.954/2.954, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001053/0.001052, allocations: 88.56 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5111, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.7693, allocations: 116.5 MB / 492.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.7698, allocations: 83.95 kB / 492.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5628/1.333, allocations: 42.59 MB / 0.5223 GB, free: 95.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.203e-06/1.333, allocations: 0 / 0.5223 GB, free: 95.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003165/1.333, allocations: 40 kB / 0.5224 GB, free: 95.52 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.008261/1.341, allocations: 1.923 MB / 0.5242 GB, free: 93.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.341, allocations: 8.031 kB / 0.5243 GB, free: 93.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.343, allocations: 270.2 kB / 0.5245 GB, free: 93.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/1.349, allocations: 1.217 MB / 0.5257 GB, free: 92.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/1.349, allocations: 127.6 kB / 0.5258 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008892/1.35, allocations: 168.3 kB / 0.526 GB, free: 91.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/1.357, allocations: 1.598 MB / 0.5275 GB, free: 90.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/1.357, allocations: 11.94 kB / 0.5276 GB, free: 90.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005656/1.358, allocations: 71.94 kB / 0.5276 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/1.358, allocations: 40 kB / 0.5277 GB, free: 89.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005776/1.364, allocations: 1.121 MB / 0.5288 GB, free: 88.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/1.387, allocations: 6.765 MB / 0.5354 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.39, allocations: 1.007 MB / 0.5363 GB, free: 80.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.391, allocations: 326.3 kB / 0.5367 GB, free: 80.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.922e-05/1.392, allocations: 8.562 kB / 0.5367 GB, free: 80.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.392, allocations: 39.12 kB / 0.5367 GB, free: 80.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 4.398e-06/1.392, allocations: 0 / 0.5367 GB, free: 80.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.008654/1.4, allocations: 2.126 MB / 0.5388 GB, free: 78.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/1.4, allocations: 81.67 kB / 0.5389 GB, free: 78.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004341/1.405, allocations: 1.223 MB / 0.54 GB, free: 76.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.405, allocations: 41.7 kB / 0.5401 GB, free: 76.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.406, allocations: 0.8957 MB / 0.541 GB, free: 75.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000527/1.407, allocations: 240.5 kB / 0.5412 GB, free: 75.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.407, allocations: 24 kB / 0.5412 GB, free: 75.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/1.407, allocations: 349.9 kB / 0.5415 GB, free: 75.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.409, allocations: 314.5 kB / 0.5418 GB, free: 74.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.41, allocations: 0.7206 MB / 0.5426 GB, free: 74.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/1.414, allocations: 1.086 MB / 0.5436 GB, free: 72.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-05/1.414, allocations: 4 kB / 0.5436 GB, free: 72.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.005274/1.419, allocations: 1.196 MB / 0.5448 GB, free: 71.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006223/1.42, allocations: 489.6 kB / 0.5453 GB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/1.42, allocations: 19.94 kB / 0.5453 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/1.42, allocations: 36.84 kB / 0.5453 GB, free: 70.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.422, allocations: 279.6 kB / 0.5456 GB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.424, allocations: 1.299 MB / 0.5468 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.426, allocations: 72.08 kB / 0.5469 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/1.426, allocations: 56 kB / 0.547 GB, free: 69.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.426, allocations: 4 kB / 0.547 GB, free: 69.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00255/1.428, allocations: 0.9455 MB / 0.5479 GB, free: 68.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/1.429, allocations: 19.88 kB / 0.5479 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/1.429, allocations: 45.34 kB / 0.548 GB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.43, allocations: 255.6 kB / 0.5482 GB, free: 67.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/1.431, allocations: 1.295 MB / 0.5495 GB, free: 66.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.433, allocations: 51.98 kB / 0.5495 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.433, allocations: 48 kB / 0.5496 GB, free: 66.22 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.001783/1.435, allocations: 434.3 kB / 0.55 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/1.436, allocations: 142.4 kB / 0.5501 GB, free: 65.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/1.439, allocations: 0.7283 MB / 0.5508 GB, free: 64.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.439, allocations: 4 kB / 0.5508 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.439, allocations: 0 / 0.5508 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.439, allocations: 7.922 kB / 0.5508 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00861/1.448, allocations: 2.143 MB / 0.5529 GB, free: 62.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.448, allocations: 3.984 kB / 0.5529 GB, free: 62.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.449, allocations: 148 kB / 0.5531 GB, free: 62.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/1.45, allocations: 20.84 kB / 0.5531 GB, free: 62.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/1.45, allocations: 24 kB / 0.5531 GB, free: 62.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.451, allocations: 1.272 MB / 0.5544 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.451, allocations: 3.938 kB / 0.5544 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/1.455, allocations: 1.168 MB / 0.5555 GB, free: 59.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.456, allocations: 263.3 kB / 0.5557 GB, free: 59.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007855/1.457, allocations: 19.94 kB / 0.5558 GB, free: 59.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.459, allocations: 63.95 kB / 0.5558 GB, free: 59.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.459, allocations: 40.45 kB / 0.5559 GB, free: 59.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/1.459, allocations: 23.98 kB / 0.5559 GB, free: 59.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003078/1.462, allocations: 0.8151 MB / 0.5567 GB, free: 58.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.462, allocations: 0 / 0.5567 GB, free: 58.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005769/1.468, allocations: 0.5508 MB / 0.5572 GB, free: 58.07 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.001368/1.47, allocations: 402.3 kB / 0.5576 GB, free: 57.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005805/1.476, allocations: 1.494 MB / 0.5591 GB, free: 56.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.476, allocations: 0 / 0.5591 GB, free: 56.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.477, allocations: 443.5 kB / 0.5595 GB, free: 55.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.482, allocations: 317.4 kB / 0.5598 GB, free: 55.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.494, allocations: 3.517 MB / 0.5632 GB, free: 51.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/1.496, allocations: 1.237 MB / 0.5644 GB, free: 50.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/1.497, allocations: 91.42 kB / 0.5645 GB, free: 50.51 MB / 378.7 MB Notification: Performance of SimCode: time 3.006e-06/1.497, allocations: 0 / 0.5645 GB, free: 50.51 MB / 378.7 MB Notification: Performance of Templates: time 0.06821/1.565, allocations: 26.69 MB / 0.5906 GB, free: 23.8 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