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.001458/0.001458, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001046/0.001046, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.053e-05, allocations: 0 / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09585, allocations: 47.58 MB / 369.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5568, allocations: 116.1 MB / 485.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5571, allocations: 85.52 kB / 485.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1746/0.7318, allocations: 42.72 MB / 0.5156 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7319, allocations: 0 / 0.5156 GB, free: 36 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002074/0.7321, allocations: 40.23 kB / 0.5156 GB, free: 15.99 MB / 410.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.005263/0.7373, allocations: 1.699 MB / 0.5173 GB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.7374, allocations: 8.031 kB / 0.5173 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.7389, allocations: 277.3 kB / 0.5176 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.7425, allocations: 1.162 MB / 0.5187 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.7427, allocations: 131.2 kB / 0.5188 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.7432, allocations: 167.9 kB / 0.519 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.7474, allocations: 1.5 MB / 0.5205 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/0.7475, allocations: 11.98 kB / 0.5205 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.7477, allocations: 64 kB / 0.5205 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.7478, allocations: 40 kB / 0.5206 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.751, allocations: 0.9727 MB / 0.5215 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.7668, allocations: 6.763 MB / 0.5281 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.7694, allocations: 0.8834 MB / 0.529 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.7701, allocations: 255.2 kB / 0.5292 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.7702, allocations: 8.562 kB / 0.5292 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.7703, allocations: 43.12 kB / 0.5293 GB, free: 1.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 3.507e-06/0.7703, allocations: 0 / 0.5293 GB, free: 1.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.2729/1.043, allocations: 1.55 MB / 0.5308 GB, free: 104.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/1.043, allocations: 85.23 kB / 0.5309 GB, free: 104.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/1.046, allocations: 1.063 MB / 0.5319 GB, free: 104.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/1.046, allocations: 38.55 kB / 0.5319 GB, free: 104.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/1.047, allocations: 0.8677 MB / 0.5328 GB, free: 104 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.048, allocations: 240.4 kB / 0.533 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/1.048, allocations: 23.38 kB / 0.533 GB, free: 103.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/1.048, allocations: 353.3 kB / 0.5334 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/1.048, allocations: 241.3 kB / 0.5336 GB, free: 103.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/1.049, allocations: 0.6489 MB / 0.5342 GB, free: 103 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/1.05, allocations: 353 kB / 0.5346 GB, free: 103 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/1.05, allocations: 6.922 kB / 0.5346 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002577/1.053, allocations: 0.9675 MB / 0.5355 GB, free: 102.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001243/1.054, allocations: 5.318 MB / 0.5407 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-05/1.054, allocations: 14.17 kB / 0.5407 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/1.055, allocations: 42.08 kB / 0.5408 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.057, allocations: 273.1 kB / 0.541 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.058, allocations: 1.288 MB / 0.5423 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.06, allocations: 76.55 kB / 0.5424 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.06, allocations: 53.41 kB / 0.5424 GB, free: 96.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.06, allocations: 4.25 kB / 0.5424 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/1.062, allocations: 0.8912 MB / 0.5433 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/1.062, allocations: 17.31 kB / 0.5433 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/1.063, allocations: 41.66 kB / 0.5434 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.064, allocations: 254.9 kB / 0.5436 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/1.065, allocations: 1.297 MB / 0.5449 GB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/1.066, allocations: 46.36 kB / 0.5449 GB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.066, allocations: 51.72 kB / 0.545 GB, free: 94.87 MB / 410.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 () * 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.0003819/1.067, allocations: 180.8 kB / 0.5451 GB, free: 94.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/1.067, allocations: 139.3 kB / 0.5453 GB, free: 94.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.069, allocations: 0.5952 MB / 0.5458 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.069, allocations: 5.719 kB / 0.5458 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.069, allocations: 3.375 kB / 0.5458 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.069, allocations: 7.422 kB / 0.5459 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/1.075, allocations: 2.007 MB / 0.5478 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.075, allocations: 1.984 kB / 0.5478 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.076, allocations: 146.5 kB / 0.548 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/1.076, allocations: 22.2 kB / 0.548 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.076, allocations: 16.77 kB / 0.548 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/1.077, allocations: 1.281 MB / 0.5492 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.077, allocations: 2.219 kB / 0.5492 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/1.08, allocations: 1.064 MB / 0.5503 GB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008245/1.081, allocations: 266.2 kB / 0.5505 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.081, allocations: 18.2 kB / 0.5506 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.082, allocations: 59.62 kB / 0.5506 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.082, allocations: 42.25 kB / 0.5507 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/1.082, allocations: 22.88 kB / 0.5507 GB, free: 92.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002056/1.084, allocations: 0.795 MB / 0.5515 GB, free: 92.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.084, allocations: 6.594 kB / 0.5515 GB, free: 92.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003266/1.088, allocations: 0.5491 MB / 0.552 GB, free: 92.21 MB / 410.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 () * 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.0008809/1.089, allocations: 390.7 kB / 0.5524 GB, free: 92.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/1.092, allocations: 1.324 MB / 0.5537 GB, free: 91.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.092, allocations: 1.062 kB / 0.5537 GB, free: 91.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000894/1.093, allocations: 368.8 kB / 0.554 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.096, allocations: 298.6 kB / 0.5543 GB, free: 91.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/1.103, allocations: 2.154 MB / 0.5564 GB, free: 90.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.104, allocations: 1.273 MB / 0.5576 GB, free: 90.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/1.105, allocations: 94.34 kB / 0.5577 GB, free: 90.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/1.105, allocations: 0 / 0.5577 GB, free: 90.02 MB / 410.7 MB Notification: Performance of Templates: time 0.0464/1.151, allocations: 25.84 MB / 0.583 GB, free: 88.6 MB / 410.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