Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001145/0.001145, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007961/0.0007962, allocations: 78.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.405e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07078/0.0708, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.3821, allocations: 115.7 MB / 478.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.3824, allocations: 84.64 kB / 478.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1316/0.514, allocations: 41.88 MB / 0.5085 GB, free: 7.852 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.514, allocations: 0 / 0.5085 GB, free: 7.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.322e-05/0.5141, allocations: 44 kB / 0.5085 GB, free: 7.809 MB / 394.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.002544/0.5167, allocations: 1.691 MB / 0.5102 GB, free: 6.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5167, allocations: 8.031 kB / 0.5102 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.5175, allocations: 273.8 kB / 0.5105 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.5193, allocations: 1.173 MB / 0.5116 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.5194, allocations: 52 kB / 0.5117 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.5195, allocations: 103.9 kB / 0.5118 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001576/0.5211, allocations: 0.8774 MB / 0.5126 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.5232, allocations: 1.271 MB / 0.5139 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.5233, allocations: 7.984 kB / 0.5139 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.5234, allocations: 0 / 0.5139 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.5234, allocations: 40 kB / 0.5139 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007427/0.5308, allocations: 6.463 MB / 0.5202 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5322, allocations: 0.8569 MB / 0.521 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.5326, allocations: 235.2 kB / 0.5213 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.5326, allocations: 4.562 kB / 0.5213 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5327, allocations: 43.12 kB / 0.5213 GB, free: 10.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 1.794e-06/0.5327, allocations: 0 / 0.5213 GB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.002236/0.5349, allocations: 1.447 MB / 0.5227 GB, free: 8.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.535, allocations: 89.67 kB / 0.5228 GB, free: 8.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.5361, allocations: 0.9021 MB / 0.5237 GB, free: 7.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.5362, allocations: 25.7 kB / 0.5237 GB, free: 7.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.5367, allocations: 0.9184 MB / 0.5246 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5369, allocations: 232.6 kB / 0.5248 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.5369, allocations: 0 / 0.5248 GB, free: 6.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.537, allocations: 345.9 kB / 0.5252 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.5374, allocations: 218.6 kB / 0.5254 GB, free: 5.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.538, allocations: 0.6159 MB / 0.526 GB, free: 5.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.5385, allocations: 328.3 kB / 0.5263 GB, free: 4.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5385, allocations: 4 kB / 0.5263 GB, free: 4.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001333/0.5398, allocations: 0.9333 MB / 0.5272 GB, free: 3.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.19/0.7299, allocations: 5.329 MB / 0.5324 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-05/0.73, allocations: 12.81 kB / 0.5324 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.7303, allocations: 40.73 kB / 0.5325 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.7317, allocations: 278.7 kB / 0.5327 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.7327, allocations: 1.24 MB / 0.5339 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7341, allocations: 50.23 kB / 0.534 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.7342, allocations: 52.59 kB / 0.534 GB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7343, allocations: 3.688 kB / 0.534 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/0.736, allocations: 0.7506 MB / 0.5348 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.736, allocations: 15.08 kB / 0.5348 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.7362, allocations: 41.98 kB / 0.5348 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.7371, allocations: 257.2 kB / 0.5351 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/0.7379, allocations: 1.248 MB / 0.5363 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.7389, allocations: 29.56 kB / 0.5363 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.739, allocations: 52.34 kB / 0.5364 GB, free: 102.1 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.0002133/0.7392, allocations: 143 kB / 0.5365 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7394, allocations: 128.8 kB / 0.5366 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.7404, allocations: 0.5372 MB / 0.5372 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7404, allocations: 9.719 kB / 0.5372 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7404, allocations: 0.7969 kB / 0.5372 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7405, allocations: 3 kB / 0.5372 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.7431, allocations: 1.76 MB / 0.5389 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.7431, allocations: 2.281 kB / 0.5389 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.7438, allocations: 142.9 kB / 0.539 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-05/0.7439, allocations: 25.91 kB / 0.5391 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.7439, allocations: 10.06 kB / 0.5391 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005714/0.7445, allocations: 1.229 MB / 0.5403 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7445, allocations: 1.969 kB / 0.5403 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7457, allocations: 1.006 MB / 0.5412 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.7461, allocations: 253.2 kB / 0.5415 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.7462, allocations: 8.031 kB / 0.5415 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.7468, allocations: 46.72 kB / 0.5415 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.7469, allocations: 46.73 kB / 0.5416 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.7469, allocations: 19.77 kB / 0.5416 GB, free: 99.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009129/0.7478, allocations: 0.6664 MB / 0.5423 GB, free: 99.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7478, allocations: 0 / 0.5423 GB, free: 99.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001675/0.7495, allocations: 467.4 kB / 0.5427 GB, free: 99.8 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.0004854/0.75, allocations: 357.4 kB / 0.543 GB, free: 99.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.7519, allocations: 1.251 MB / 0.5443 GB, free: 99.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7519, allocations: 1.562 kB / 0.5443 GB, free: 99.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.7523, allocations: 351 kB / 0.5446 GB, free: 99.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7536, allocations: 269.6 kB / 0.5449 GB, free: 99.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.7574, allocations: 2.081 MB / 0.5469 GB, free: 98.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.7589, allocations: 1.276 MB / 0.5481 GB, free: 97.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002071/0.761, allocations: 216.2 kB / 0.5483 GB, free: 97.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.7613, allocations: 65.22 kB / 0.5484 GB, free: 97.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7613, allocations: 0 / 0.5484 GB, free: 97.87 MB / 410.7 MB Notification: Performance of Templates: time 0.0359/0.7972, allocations: 14.55 MB / 0.5626 GB, free: 96.82 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches