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.001525/0.001525, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 86.56 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.458e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.5121, allocations: 115.4 MB / 477.8 MB, free: 2.793 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.5125, allocations: 83.95 kB / 477.9 MB, free: 2.711 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4486/0.9612, allocations: 41.88 MB / 0.5075 GB, free: 102.6 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.9612, allocations: 1.469 kB / 0.5075 GB, free: 102.6 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.9615, allocations: 40.8 kB / 0.5076 GB, free: 102.6 MB / 395.1 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.005989/0.9675, allocations: 1.695 MB / 0.5092 GB, free: 101.8 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9676, allocations: 13.59 kB / 0.5093 GB, free: 101.8 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.9693, allocations: 274 kB / 0.5095 GB, free: 101.7 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.9732, allocations: 1.166 MB / 0.5107 GB, free: 101.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.9733, allocations: 52.84 kB / 0.5107 GB, free: 101.3 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/0.9737, allocations: 104.1 kB / 0.5108 GB, free: 101.3 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002861/0.9766, allocations: 0.8731 MB / 0.5117 GB, free: 101.3 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.9801, allocations: 1.273 MB / 0.5129 GB, free: 101.1 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.027e-05/0.9803, allocations: 10.5 kB / 0.5129 GB, free: 101.1 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.9804, allocations: 1.656 kB / 0.5129 GB, free: 101.1 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.9805, allocations: 40.25 kB / 0.513 GB, free: 101.1 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.9936, allocations: 6.454 MB / 0.5193 GB, free: 98.39 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.996, allocations: 0.8559 MB / 0.5201 GB, free: 98.07 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.9967, allocations: 242.5 kB / 0.5203 GB, free: 98.05 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.9967, allocations: 11.69 kB / 0.5203 GB, free: 98.05 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.9968, allocations: 38 kB / 0.5204 GB, free: 98.01 MB / 395.1 MB Notification: Performance of pre-optimization done (n=61): time 4.599e-06/0.9968, allocations: 4.734 kB / 0.5204 GB, free: 98.01 MB / 395.1 MB Notification: Performance of matching and sorting (n=64): time 0.00437/1.001, allocations: 1.439 MB / 0.5218 GB, free: 97.39 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.001, allocations: 85.2 kB / 0.5219 GB, free: 97.29 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/1.003, allocations: 0.9032 MB / 0.5227 GB, free: 97.14 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/1.004, allocations: 25.7 kB / 0.5228 GB, free: 97.11 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000695/1.004, allocations: 0.8999 MB / 0.5236 GB, free: 96.5 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/1.005, allocations: 230.8 kB / 0.5239 GB, free: 96.32 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/1.005, allocations: 0 / 0.5239 GB, free: 96.32 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/1.005, allocations: 349.5 kB / 0.5242 GB, free: 96 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/1.006, allocations: 226.7 kB / 0.5244 GB, free: 95.9 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/1.006, allocations: 0.6143 MB / 0.525 GB, free: 95.27 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/1.007, allocations: 339.5 kB / 0.5253 GB, free: 95.12 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.007, allocations: 6.406 kB / 0.5253 GB, free: 95.12 MB / 395.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002152/1.009, allocations: 0.8493 MB / 0.5262 GB, free: 94.77 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001212/1.011, allocations: 5.31 MB / 0.5314 GB, free: 89.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/1.011, allocations: 15.28 kB / 0.5314 GB, free: 89.09 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/1.011, allocations: 42.34 kB / 0.5314 GB, free: 89.08 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.013, allocations: 280.6 kB / 0.5317 GB, free: 89.05 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/1.014, allocations: 1.237 MB / 0.5329 GB, free: 87.81 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.016, allocations: 58.66 kB / 0.5329 GB, free: 87.8 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.016, allocations: 49.02 kB / 0.533 GB, free: 87.79 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/1.016, allocations: 7.812 kB / 0.533 GB, free: 87.79 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001935/1.018, allocations: 0.7469 MB / 0.5337 GB, free: 87.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.018, allocations: 11.34 kB / 0.5337 GB, free: 87.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/1.018, allocations: 43.66 kB / 0.5338 GB, free: 87.49 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.02, allocations: 255.1 kB / 0.534 GB, free: 87.46 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009828/1.021, allocations: 1.243 MB / 0.5352 GB, free: 86.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/1.022, allocations: 27.39 kB / 0.5353 GB, free: 86.22 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/1.022, allocations: 50.12 kB / 0.5353 GB, free: 86.21 MB / 395.1 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.0003063/1.022, allocations: 149.8 kB / 0.5355 GB, free: 86.07 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/1.023, allocations: 127.8 kB / 0.5356 GB, free: 86 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.024, allocations: 0.5383 MB / 0.5361 GB, free: 85.75 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.024, allocations: 13.84 kB / 0.5361 GB, free: 85.75 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.024, allocations: 3.062 kB / 0.5361 GB, free: 85.75 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.024, allocations: 3.891 kB / 0.5361 GB, free: 85.75 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/1.029, allocations: 1.76 MB / 0.5378 GB, free: 84.85 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.976e-06/1.029, allocations: 3.844 kB / 0.5378 GB, free: 84.85 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.03, allocations: 140.8 kB / 0.538 GB, free: 84.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/1.031, allocations: 24.23 kB / 0.538 GB, free: 84.82 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/1.031, allocations: 3.938 kB / 0.538 GB, free: 84.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/1.032, allocations: 1.234 MB / 0.5392 GB, free: 83.58 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.032, allocations: 3.844 kB / 0.5392 GB, free: 83.58 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/1.034, allocations: 1.006 MB / 0.5402 GB, free: 82.93 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/1.035, allocations: 249 kB / 0.5404 GB, free: 82.72 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.035, allocations: 3.969 kB / 0.5404 GB, free: 82.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.036, allocations: 49.59 kB / 0.5405 GB, free: 82.72 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.036, allocations: 47.02 kB / 0.5405 GB, free: 82.71 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.036, allocations: 26.39 kB / 0.5406 GB, free: 82.7 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001416/1.038, allocations: 0.6596 MB / 0.5412 GB, free: 82.39 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.51e-07/1.038, allocations: 4 kB / 0.5412 GB, free: 82.39 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002951/1.041, allocations: 472.4 kB / 0.5417 GB, free: 82.37 MB / 395.1 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.0006563/1.041, allocations: 358.1 kB / 0.542 GB, free: 82.21 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/1.044, allocations: 1.202 MB / 0.5432 GB, free: 81.64 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.044, allocations: 4.156 kB / 0.5432 GB, free: 81.64 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/1.045, allocations: 358.8 kB / 0.5435 GB, free: 81.43 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.047, allocations: 260.9 kB / 0.5438 GB, free: 81.36 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/1.053, allocations: 2.106 MB / 0.5458 GB, free: 80.3 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/1.054, allocations: 1.271 MB / 0.5471 GB, free: 79.57 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/1.055, allocations: 85.92 kB / 0.5471 GB, free: 79.56 MB / 395.1 MB Notification: Performance of SimCode: time 1.022e-06/1.055, allocations: 0 / 0.5471 GB, free: 79.56 MB / 395.1 MB Notification: Performance of Templates: time 0.04555/1.1, allocations: 25.06 MB / 0.5716 GB, free: 67.24 MB / 395.1 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