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.001018/0.001019, allocations: 197 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 7.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008176/0.0008176, allocations: 107.5 kB / 297.3 MB, free: 6.152 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002045, allocations: 11.98 kB / 357.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1866, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.4749, allocations: 118.7 MB / 0.5157 GB, free: 47.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4752, allocations: 87.64 kB / 0.5158 GB, free: 47.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08719/0.5624, allocations: 42.65 MB / 0.5574 GB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5625, allocations: 3.688 kB / 0.5574 GB, free: 34.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.089e-05/0.5626, allocations: 48.45 kB / 0.5575 GB, free: 34.33 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.002736/0.5653, allocations: 1.908 MB / 0.5593 GB, free: 33.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5654, allocations: 9.594 kB / 0.5594 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.566, allocations: 269.8 kB / 0.5596 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5675, allocations: 1.155 MB / 0.5607 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.5676, allocations: 122.3 kB / 0.5609 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.5678, allocations: 172.3 kB / 0.561 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.5698, allocations: 1.578 MB / 0.5626 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.5698, allocations: 0 / 0.5626 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.57, allocations: 68.44 kB / 0.5626 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.57, allocations: 38.94 kB / 0.5627 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.5716, allocations: 1.105 MB / 0.5637 GB, free: 31.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.5776, allocations: 6.668 MB / 0.5703 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.5791, allocations: 1.006 MB / 0.5712 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.5791, allocations: 12.12 kB / 0.5713 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5791, allocations: 40.5 kB / 0.5713 GB, free: 27.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 1.543e-06/0.5791, allocations: 0 / 0.5713 GB, free: 27.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002937/0.5821, allocations: 2.112 MB / 0.5734 GB, free: 26.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5821, allocations: 88.55 kB / 0.5734 GB, free: 26.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.5833, allocations: 1.07 MB / 0.5745 GB, free: 25.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.5833, allocations: 44.64 kB / 0.5745 GB, free: 25.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.5837, allocations: 0.8795 MB / 0.5754 GB, free: 24.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.5838, allocations: 237.3 kB / 0.5756 GB, free: 24.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.5839, allocations: 22.31 kB / 0.5756 GB, free: 24.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.5839, allocations: 347.8 kB / 0.576 GB, free: 24.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.5844, allocations: 314.5 kB / 0.5763 GB, free: 24.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.585, allocations: 0.7104 MB / 0.577 GB, free: 23.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.5856, allocations: 426.1 kB / 0.5774 GB, free: 23.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5856, allocations: 4 kB / 0.5774 GB, free: 23.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001549/0.5872, allocations: 1.193 MB / 0.5785 GB, free: 21.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006677/0.5879, allocations: 5.358 MB / 0.5838 GB, free: 16.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5879, allocations: 12 kB / 0.5838 GB, free: 16.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.588, allocations: 52.78 kB / 0.5838 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.5888, allocations: 271.6 kB / 0.5841 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006006/0.5894, allocations: 1.307 MB / 0.5854 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.5901, allocations: 72.12 kB / 0.5854 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.5902, allocations: 48 kB / 0.5855 GB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.5902, allocations: 7.984 kB / 0.5855 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.5914, allocations: 0.9455 MB / 0.5864 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5914, allocations: 12.56 kB / 0.5864 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.556e-05/0.5915, allocations: 48.84 kB / 0.5865 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.5922, allocations: 251.6 kB / 0.5867 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005106/0.5927, allocations: 1.303 MB / 0.588 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.5933, allocations: 51.89 kB / 0.588 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.5934, allocations: 56 kB / 0.5881 GB, free: 11.52 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.0005494/0.5939, allocations: 439.4 kB / 0.5885 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.594, allocations: 130.4 kB / 0.5886 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.5952, allocations: 0.7244 MB / 0.5893 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5952, allocations: 15.89 kB / 0.5893 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5952, allocations: 0 / 0.5893 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5953, allocations: 4.031 kB / 0.5894 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.5977, allocations: 2.124 MB / 0.5914 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5977, allocations: 3.938 kB / 0.5914 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.5983, allocations: 140.1 kB / 0.5916 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.057e-05/0.5984, allocations: 24.8 kB / 0.5916 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.5984, allocations: 19.98 kB / 0.5916 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.599, allocations: 1.284 MB / 0.5929 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.599, allocations: 4 kB / 0.5929 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6004, allocations: 1.256 MB / 0.5941 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.6007, allocations: 267.3 kB / 0.5943 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6008, allocations: 12 kB / 0.5944 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.6014, allocations: 59.95 kB / 0.5944 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.6015, allocations: 40.52 kB / 0.5945 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.6015, allocations: 23.98 kB / 0.5945 GB, free: 4.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008194/0.6023, allocations: 0.8028 MB / 0.5953 GB, free: 3.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6023, allocations: 0 / 0.5953 GB, free: 3.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001449/0.6038, allocations: 0.543 MB / 0.5958 GB, free: 3.262 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.0004209/0.6042, allocations: 417.3 kB / 0.5962 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.6062, allocations: 1.483 MB / 0.5976 GB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6062, allocations: 0 / 0.5976 GB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.6068, allocations: 443 kB / 0.5981 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.608, allocations: 297.8 kB / 0.5983 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.6124, allocations: 3.411 MB / 0.6017 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.6131, allocations: 1.268 MB / 0.6029 GB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007458/0.6139, allocations: 190.4 kB / 0.6031 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6141, allocations: 83.42 kB / 0.6032 GB, free: 11.57 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6141, allocations: 0 / 0.6032 GB, free: 11.57 MB / 394.7 MB Notification: Performance of Templates: time 0.02746/0.6416, allocations: 16.45 MB / 0.6192 GB, free: 11.24 MB / 410.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