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.001518/0.001518, allocations: 183.4 kB / 18.05 MB, free: 3.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.4 MB / 224.2 MB, free: 9.004 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.001004/0.001004, allocations: 88.91 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 47.56 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3105, allocations: 116.5 MB / 493.5 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3108, allocations: 91.94 kB / 493.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2387/0.5495, allocations: 42.59 MB / 0.5236 GB, free: 95.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5496, allocations: 0 / 0.5236 GB, free: 95.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.5497, allocations: 40 kB / 0.5236 GB, free: 95.45 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.003601/0.5533, allocations: 1.915 MB / 0.5255 GB, free: 93.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5534, allocations: 8.031 kB / 0.5255 GB, free: 93.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.5542, allocations: 270.2 kB / 0.5258 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.5562, allocations: 1.22 MB / 0.527 GB, free: 91.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.5563, allocations: 127.6 kB / 0.5271 GB, free: 91.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.5565, allocations: 168.3 kB / 0.5273 GB, free: 91.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.5589, allocations: 1.602 MB / 0.5288 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/0.559, allocations: 7.938 kB / 0.5288 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5591, allocations: 72 kB / 0.5289 GB, free: 89.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.5591, allocations: 40 kB / 0.5289 GB, free: 89.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.5611, allocations: 1.113 MB / 0.53 GB, free: 88.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007545/0.5686, allocations: 6.757 MB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.5702, allocations: 1.008 MB / 0.5376 GB, free: 80.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.5706, allocations: 326.3 kB / 0.5379 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.5707, allocations: 16.47 kB / 0.5379 GB, free: 80.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5707, allocations: 39.12 kB / 0.538 GB, free: 80.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/0.5707, allocations: 4 kB / 0.538 GB, free: 80.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003162/0.5739, allocations: 2.12 MB / 0.54 GB, free: 78.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5739, allocations: 81.67 kB / 0.5401 GB, free: 78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.5752, allocations: 1.223 MB / 0.5413 GB, free: 76.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.5752, allocations: 37.7 kB / 0.5413 GB, free: 76.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.5756, allocations: 0.9036 MB / 0.5422 GB, free: 75.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.5758, allocations: 236.5 kB / 0.5425 GB, free: 75.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.5758, allocations: 24 kB / 0.5425 GB, free: 75.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.5759, allocations: 353.9 kB / 0.5428 GB, free: 75.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.5764, allocations: 314.5 kB / 0.5431 GB, free: 74.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.5771, allocations: 0.7206 MB / 0.5438 GB, free: 73.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5782, allocations: 1.082 MB / 0.5449 GB, free: 72.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5783, allocations: 4 kB / 0.5449 GB, free: 72.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001621/0.5799, allocations: 1.2 MB / 0.5461 GB, free: 71.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.58, allocations: 488.2 kB / 0.5465 GB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5801, allocations: 15.94 kB / 0.5465 GB, free: 70.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.5802, allocations: 40.84 kB / 0.5466 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.581, allocations: 283.5 kB / 0.5468 GB, free: 70.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000624/0.5816, allocations: 1.291 MB / 0.5481 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.5824, allocations: 76.11 kB / 0.5482 GB, free: 69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.5824, allocations: 48 kB / 0.5482 GB, free: 68.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/0.5824, allocations: 4 kB / 0.5482 GB, free: 68.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/0.5836, allocations: 0.9494 MB / 0.5492 GB, free: 68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5837, allocations: 20.44 kB / 0.5492 GB, free: 67.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-05/0.5838, allocations: 48.88 kB / 0.5492 GB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.5845, allocations: 251.6 kB / 0.5495 GB, free: 67.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005418/0.585, allocations: 1.299 MB / 0.5507 GB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.5856, allocations: 51.98 kB / 0.5508 GB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.5857, allocations: 48 kB / 0.5508 GB, free: 66.15 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.0006092/0.5863, allocations: 448.3 kB / 0.5513 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5865, allocations: 134.3 kB / 0.5514 GB, free: 65.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.5877, allocations: 0.7322 MB / 0.5521 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5877, allocations: 4 kB / 0.5521 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5878, allocations: 0 / 0.5521 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5878, allocations: 3.984 kB / 0.5521 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.5904, allocations: 2.143 MB / 0.5542 GB, free: 62.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5904, allocations: 224 / 0.5542 GB, free: 62.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.591, allocations: 147.8 kB / 0.5543 GB, free: 62.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.5911, allocations: 24.84 kB / 0.5544 GB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.5911, allocations: 16 kB / 0.5544 GB, free: 62.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005461/0.5917, allocations: 1.276 MB / 0.5556 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5917, allocations: 3.938 kB / 0.5556 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.5932, allocations: 1.168 MB / 0.5568 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.5935, allocations: 267.3 kB / 0.557 GB, free: 59.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5936, allocations: 19.94 kB / 0.557 GB, free: 59.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.5942, allocations: 55.95 kB / 0.5571 GB, free: 59.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.5943, allocations: 48.45 kB / 0.5571 GB, free: 59.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.5943, allocations: 19.98 kB / 0.5572 GB, free: 59.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008957/0.5952, allocations: 0.8151 MB / 0.558 GB, free: 58.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5952, allocations: 0 / 0.558 GB, free: 58.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001488/0.5967, allocations: 0.5547 MB / 0.5585 GB, free: 58 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.000414/0.5971, allocations: 410 kB / 0.5589 GB, free: 57.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.5991, allocations: 1.491 MB / 0.5603 GB, free: 56.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5992, allocations: 0 / 0.5603 GB, free: 56.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.5997, allocations: 438.5 kB / 0.5608 GB, free: 55.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6013, allocations: 311.5 kB / 0.5611 GB, free: 55.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.6053, allocations: 3.468 MB / 0.5644 GB, free: 51.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6059, allocations: 1.237 MB / 0.5657 GB, free: 50.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007847/0.6067, allocations: 178.5 kB / 0.5658 GB, free: 50.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6069, allocations: 87.38 kB / 0.5659 GB, free: 50.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6069, allocations: 0 / 0.5659 GB, free: 50.32 MB / 378.7 MB Notification: Performance of Templates: time 0.02344/0.6304, allocations: 16.82 MB / 0.5823 GB, free: 33.52 MB / 378.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/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_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches