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.001164/0.001164, allocations: 201.3 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 226.5 MB / 245.4 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007714/0.0007715, allocations: 95.97 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002628, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.5595, allocations: 118.9 MB / 0.5159 GB, free: 98.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5598, allocations: 92.48 kB / 0.516 GB, free: 97.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09163/0.6514, allocations: 42.76 MB / 0.5578 GB, free: 55.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6515, allocations: 0 / 0.5578 GB, free: 55.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001962/0.6517, allocations: 44 kB / 0.5578 GB, free: 55.63 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.004315/0.656, allocations: 1.918 MB / 0.5597 GB, free: 53.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6561, allocations: 8.031 kB / 0.5597 GB, free: 53.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6571, allocations: 270.3 kB / 0.5599 GB, free: 53.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.6595, allocations: 1.205 MB / 0.5611 GB, free: 52.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.6596, allocations: 131.7 kB / 0.5612 GB, free: 51.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.6599, allocations: 168.3 kB / 0.5614 GB, free: 51.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.6627, allocations: 1.606 MB / 0.563 GB, free: 50.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.6628, allocations: 7.938 kB / 0.563 GB, free: 50.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.6629, allocations: 68 kB / 0.563 GB, free: 50.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.6629, allocations: 40 kB / 0.5631 GB, free: 50.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.6648, allocations: 1.117 MB / 0.5642 GB, free: 48.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007084/0.6718, allocations: 6.758 MB / 0.5708 GB, free: 41.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.6734, allocations: 1.007 MB / 0.5718 GB, free: 40.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.6739, allocations: 326.3 kB / 0.5721 GB, free: 40.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.6739, allocations: 20.53 kB / 0.5721 GB, free: 40.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.6739, allocations: 39.12 kB / 0.5721 GB, free: 40.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.6739, allocations: 0 / 0.5721 GB, free: 40.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003474/0.6774, allocations: 2.116 MB / 0.5742 GB, free: 38.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.6775, allocations: 85.67 kB / 0.5743 GB, free: 38.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.679, allocations: 1.214 MB / 0.5755 GB, free: 36.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.679, allocations: 45.69 kB / 0.5755 GB, free: 36.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6794, allocations: 0.8881 MB / 0.5764 GB, free: 35.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6796, allocations: 251.4 kB / 0.5766 GB, free: 35.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.6796, allocations: 23.94 kB / 0.5766 GB, free: 35.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.6797, allocations: 353.9 kB / 0.577 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.6803, allocations: 314.5 kB / 0.5773 GB, free: 34.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.681, allocations: 0.7197 MB / 0.578 GB, free: 34.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.6823, allocations: 1.079 MB / 0.579 GB, free: 32.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.6823, allocations: 8 kB / 0.579 GB, free: 32.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001812/0.6842, allocations: 1.188 MB / 0.5802 GB, free: 31.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.6844, allocations: 0.4888 MB / 0.5807 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.6844, allocations: 15.94 kB / 0.5807 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.6846, allocations: 36.86 kB / 0.5807 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.6854, allocations: 283.5 kB / 0.581 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/0.6862, allocations: 1.299 MB / 0.5823 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.687, allocations: 67.88 kB / 0.5823 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.6871, allocations: 52 kB / 0.5824 GB, free: 29.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/0.6871, allocations: 4 kB / 0.5824 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/0.6884, allocations: 0.9538 MB / 0.5833 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.6884, allocations: 19.98 kB / 0.5833 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-05/0.6885, allocations: 40.84 kB / 0.5834 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.6892, allocations: 255.6 kB / 0.5836 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005795/0.6898, allocations: 1.292 MB / 0.5849 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.6905, allocations: 56.05 kB / 0.5849 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.6906, allocations: 52 kB / 0.585 GB, free: 26.25 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.0007018/0.6913, allocations: 437.2 kB / 0.5854 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6915, allocations: 130.4 kB / 0.5855 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.6927, allocations: 0.7244 MB / 0.5862 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6927, allocations: 7.984 kB / 0.5862 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6927, allocations: 4 kB / 0.5862 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.6928, allocations: 4 kB / 0.5862 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.6957, allocations: 2.139 MB / 0.5883 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6958, allocations: 0 / 0.5883 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.6963, allocations: 139.8 kB / 0.5885 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-05/0.6964, allocations: 29.06 kB / 0.5885 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.6964, allocations: 20 kB / 0.5885 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005357/0.697, allocations: 1.28 MB / 0.5898 GB, free: 21.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.697, allocations: 3.938 kB / 0.5898 GB, free: 21.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.6985, allocations: 1.167 MB / 0.5909 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.6989, allocations: 259.4 kB / 0.5912 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.6991, allocations: 19.94 kB / 0.5912 GB, free: 19.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.6996, allocations: 59.95 kB / 0.5912 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.6997, allocations: 48.44 kB / 0.5913 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6998, allocations: 16 kB / 0.5913 GB, free: 19.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009542/0.7007, allocations: 0.8071 MB / 0.5921 GB, free: 18.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7007, allocations: 3.938 kB / 0.5921 GB, free: 18.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001711/0.7025, allocations: 0.5431 MB / 0.5926 GB, free: 18.12 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.0005712/0.703, allocations: 411.6 kB / 0.593 GB, free: 17.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.7056, allocations: 1.488 MB / 0.5945 GB, free: 16.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7056, allocations: 8 kB / 0.5945 GB, free: 16.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.7062, allocations: 438.1 kB / 0.5949 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7081, allocations: 303.5 kB / 0.5952 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.7127, allocations: 3.458 MB / 0.5985 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.7135, allocations: 1.229 MB / 0.5997 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008558/0.7144, allocations: 186.4 kB / 0.5999 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.7146, allocations: 87.44 kB / 0.6 GB, free: 10.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7146, allocations: 0 / 0.6 GB, free: 10.41 MB / 378.7 MB Notification: Performance of Templates: time 0.02827/0.7429, allocations: 16.81 MB / 0.6164 GB, free: 9.727 MB / 394.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/jenkins1/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