Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001619, 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 1.979/1.979, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.00111/0.00111, allocations: 91.09 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.657e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3724, allocations: 47.57 MB / 362.3 MB, free: 45.8 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.584, allocations: 114.7 MB / 477 MB, free: 3.578 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.5843, allocations: 86.11 kB / 477.1 MB, free: 3.496 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.456/1.04, allocations: 38.68 MB / 0.5037 GB, free: 102.1 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.404e-06/1.04, allocations: 0 / 0.5037 GB, free: 102.1 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001834/1.041, allocations: 37.72 kB / 0.5037 GB, free: 102.1 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005613/1.046, allocations: 1.525 MB / 0.5052 GB, free: 101.3 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.046, allocations: 12.02 kB / 0.5052 GB, free: 101.3 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/1.048, allocations: 246 kB / 0.5054 GB, free: 101.2 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/1.052, allocations: 1.069 MB / 0.5065 GB, free: 100.9 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.052, allocations: 50.25 kB / 0.5065 GB, free: 100.9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/1.052, allocations: 97.5 kB / 0.5066 GB, free: 100.9 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003057/1.056, allocations: 0.7928 MB / 0.5074 GB, free: 100.9 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/1.06, allocations: 1.153 MB / 0.5085 GB, free: 100.7 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.153e-05/1.06, allocations: 10.5 kB / 0.5085 GB, free: 100.7 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/1.06, allocations: 1.75 kB / 0.5085 GB, free: 100.7 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/1.06, allocations: 36.66 kB / 0.5086 GB, free: 100.7 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/1.074, allocations: 5.937 MB / 0.5144 GB, free: 98.2 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.076, allocations: 0.6012 MB / 0.515 GB, free: 97.98 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/1.076, allocations: 197.5 kB / 0.5151 GB, free: 97.97 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/1.076, allocations: 12.5 kB / 0.5152 GB, free: 97.97 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.076, allocations: 39.47 kB / 0.5152 GB, free: 97.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=51): time 4.328e-06/1.076, allocations: 0 / 0.5152 GB, free: 97.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=54): time 0.003957/1.08, allocations: 1.276 MB / 0.5164 GB, free: 97.35 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.08, allocations: 83.55 kB / 0.5165 GB, free: 97.25 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.083, allocations: 0.8093 MB / 0.5173 GB, free: 97.1 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/1.083, allocations: 25.7 kB / 0.5173 GB, free: 97.07 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/1.083, allocations: 0.8166 MB / 0.5181 GB, free: 96.59 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.084, allocations: 197.9 kB / 0.5183 GB, free: 96.46 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/1.084, allocations: 4 kB / 0.5183 GB, free: 96.46 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/1.084, allocations: 347.8 kB / 0.5187 GB, free: 96.15 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/1.084, allocations: 187.8 kB / 0.5188 GB, free: 96.14 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/1.085, allocations: 0.5665 MB / 0.5194 GB, free: 95.64 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/1.086, allocations: 292 kB / 0.5197 GB, free: 95.63 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.086, allocations: 4.594 kB / 0.5197 GB, free: 95.63 MB / 395.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002085/1.088, allocations: 0.7495 MB / 0.5204 GB, free: 95.54 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001211/1.089, allocations: 5.14 MB / 0.5254 GB, free: 90.15 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.5e-05/1.09, allocations: 20.78 kB / 0.5254 GB, free: 90.15 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/1.09, allocations: 36.73 kB / 0.5255 GB, free: 90.14 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.092, allocations: 235.4 kB / 0.5257 GB, free: 90.13 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.093, allocations: 1.241 MB / 0.5269 GB, free: 88.93 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.094, allocations: 43.34 kB / 0.527 GB, free: 88.92 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.094, allocations: 46.72 kB / 0.527 GB, free: 88.92 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.094, allocations: 3.25 kB / 0.527 GB, free: 88.92 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001847/1.096, allocations: 0.6569 MB / 0.5276 GB, free: 88.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.096, allocations: 13.84 kB / 0.5277 GB, free: 88.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/1.097, allocations: 42.23 kB / 0.5277 GB, free: 88.81 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.098, allocations: 223.6 kB / 0.5279 GB, free: 88.79 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008874/1.099, allocations: 1.231 MB / 0.5291 GB, free: 87.59 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/1.1, allocations: 29.36 kB / 0.5291 GB, free: 87.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/1.1, allocations: 47.47 kB / 0.5292 GB, free: 87.59 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.000297/1.1, allocations: 139 kB / 0.5293 GB, free: 87.45 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/1.1, allocations: 111.7 kB / 0.5294 GB, free: 87.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/1.102, allocations: 467 kB / 0.5299 GB, free: 87.33 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/1.102, allocations: 7.906 kB / 0.5299 GB, free: 87.33 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.102, allocations: 5.031 kB / 0.5299 GB, free: 87.33 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.102, allocations: 3.703 kB / 0.5299 GB, free: 87.33 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/1.106, allocations: 1.562 MB / 0.5314 GB, free: 86.61 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/1.106, allocations: 9.656 kB / 0.5314 GB, free: 86.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.107, allocations: 105.7 kB / 0.5315 GB, free: 86.6 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/1.107, allocations: 22.14 kB / 0.5315 GB, free: 86.59 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/1.107, allocations: 11.61 kB / 0.5316 GB, free: 86.58 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008883/1.108, allocations: 1.223 MB / 0.5328 GB, free: 85.34 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.108, allocations: 3.375 kB / 0.5328 GB, free: 85.34 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.11, allocations: 0.8724 MB / 0.5336 GB, free: 84.75 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/1.11, allocations: 229.4 kB / 0.5338 GB, free: 84.56 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/1.111, allocations: 6.469 kB / 0.5338 GB, free: 84.56 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/1.112, allocations: 32.22 kB / 0.5339 GB, free: 84.56 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.112, allocations: 42.61 kB / 0.5339 GB, free: 84.54 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.112, allocations: 17.03 kB / 0.5339 GB, free: 84.54 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001156/1.113, allocations: 0.5944 MB / 0.5345 GB, free: 84.25 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/1.113, allocations: 0 / 0.5345 GB, free: 84.25 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00274/1.116, allocations: 429.8 kB / 0.5349 GB, free: 84.24 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (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,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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.0006646/1.116, allocations: 356.6 kB / 0.5352 GB, free: 84.09 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/1.119, allocations: 1.088 MB / 0.5363 GB, free: 83.54 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/1.119, allocations: 0 / 0.5363 GB, free: 83.54 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/1.12, allocations: 297.4 kB / 0.5366 GB, free: 83.36 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.122, allocations: 235 kB / 0.5368 GB, free: 83.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/1.127, allocations: 1.856 MB / 0.5386 GB, free: 82.37 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.128, allocations: 1.198 MB / 0.5398 GB, free: 81.64 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/1.129, allocations: 81.95 kB / 0.5399 GB, free: 81.62 MB / 395.1 MB Notification: Performance of SimCode: time 1.042e-06/1.129, allocations: 3.969 kB / 0.5399 GB, free: 81.62 MB / 395.1 MB Notification: Performance of Templates: time 0.04108/1.17, allocations: 22.48 MB / 0.5618 GB, free: 77.04 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches