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.001087/0.001087, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.648/1.648, allocations: 205.4 MB / 223.1 MB, free: 9.137 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.001264/0.001264, allocations: 90.66 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.295, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4402, allocations: 116.2 MB / 492 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.4405, allocations: 87.95 kB / 492.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.324/0.7646, allocations: 42.71 MB / 0.5222 GB, free: 95.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7646, allocations: 4.188 kB / 0.5223 GB, free: 95.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.7647, allocations: 47.88 kB / 0.5223 GB, free: 95.68 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.003354/0.7681, allocations: 1.94 MB / 0.5242 GB, free: 93.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7681, allocations: 8.031 kB / 0.5242 GB, free: 93.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000695/0.7688, allocations: 273.3 kB / 0.5245 GB, free: 93.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.7707, allocations: 1.173 MB / 0.5256 GB, free: 92.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.7708, allocations: 128 kB / 0.5257 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.771, allocations: 171.8 kB / 0.5259 GB, free: 91.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.7733, allocations: 1.594 MB / 0.5275 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.7734, allocations: 4 kB / 0.5275 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7735, allocations: 64 kB / 0.5275 GB, free: 90.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.7735, allocations: 40 kB / 0.5276 GB, free: 90.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.7753, allocations: 1.117 MB / 0.5286 GB, free: 89.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.7826, allocations: 6.758 MB / 0.5352 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.7842, allocations: 1.007 MB / 0.5362 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.7842, allocations: 8.547 kB / 0.5362 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7843, allocations: 39.12 kB / 0.5363 GB, free: 80.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.7843, allocations: 0 / 0.5363 GB, free: 80.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003516/0.7878, allocations: 2.126 MB / 0.5383 GB, free: 78.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.7879, allocations: 81.67 kB / 0.5384 GB, free: 78.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7891, allocations: 1.087 MB / 0.5395 GB, free: 77.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.7892, allocations: 33.7 kB / 0.5395 GB, free: 77.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.7896, allocations: 0.9035 MB / 0.5404 GB, free: 76.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.7898, allocations: 236.5 kB / 0.5406 GB, free: 76.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.7898, allocations: 20 kB / 0.5406 GB, free: 76.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7899, allocations: 353.9 kB / 0.541 GB, free: 75.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.7904, allocations: 310.5 kB / 0.5413 GB, free: 75.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.7912, allocations: 0.7166 MB / 0.542 GB, free: 74.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.7919, allocations: 431 kB / 0.5424 GB, free: 74.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.7919, allocations: 8 kB / 0.5424 GB, free: 74.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001665/0.7936, allocations: 1.199 MB / 0.5436 GB, free: 73.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.7947, allocations: 5.369 MB / 0.5488 GB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.7947, allocations: 12 kB / 0.5488 GB, free: 67.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.7949, allocations: 44.84 kB / 0.5489 GB, free: 67.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.7958, allocations: 271.6 kB / 0.5491 GB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007684/0.7965, allocations: 1.299 MB / 0.5504 GB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.7974, allocations: 80.11 kB / 0.5505 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.7975, allocations: 52 kB / 0.5505 GB, free: 65.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.7975, allocations: 4.938 kB / 0.5505 GB, free: 65.48 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/0.7988, allocations: 0.9455 MB / 0.5514 GB, free: 64.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7988, allocations: 12.56 kB / 0.5515 GB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-05/0.7989, allocations: 44.84 kB / 0.5515 GB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.7997, allocations: 255.6 kB / 0.5517 GB, free: 64.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007287/0.8004, allocations: 1.303 MB / 0.553 GB, free: 62.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.8012, allocations: 55.98 kB / 0.5531 GB, free: 62.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.8013, allocations: 48 kB / 0.5531 GB, free: 62.69 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.0009633/0.8023, allocations: 444.8 kB / 0.5535 GB, free: 62.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.8024, allocations: 134.3 kB / 0.5537 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.8038, allocations: 0.7283 MB / 0.5544 GB, free: 61.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8038, allocations: 11.94 kB / 0.5544 GB, free: 61.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.8038, allocations: 0 / 0.5544 GB, free: 61.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.8038, allocations: 3.984 kB / 0.5544 GB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.8067, allocations: 2.131 MB / 0.5565 GB, free: 59.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.8068, allocations: 8.219 kB / 0.5565 GB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.8073, allocations: 147.8 kB / 0.5566 GB, free: 59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.8074, allocations: 24.8 kB / 0.5567 GB, free: 58.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.8075, allocations: 20 kB / 0.5567 GB, free: 58.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006158/0.8081, allocations: 1.28 MB / 0.5579 GB, free: 57.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8081, allocations: 4.031 kB / 0.5579 GB, free: 57.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.8097, allocations: 1.257 MB / 0.5592 GB, free: 56.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.8101, allocations: 267.3 kB / 0.5594 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8102, allocations: 20 kB / 0.5594 GB, free: 55.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.8108, allocations: 59.95 kB / 0.5595 GB, free: 55.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.8109, allocations: 52.38 kB / 0.5595 GB, free: 55.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.8109, allocations: 19.94 kB / 0.5596 GB, free: 55.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.8119, allocations: 0.8229 MB / 0.5604 GB, free: 54.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8119, allocations: 0 / 0.5604 GB, free: 54.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001835/0.8138, allocations: 0.5469 MB / 0.5609 GB, free: 54.37 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.000516/0.8143, allocations: 401.6 kB / 0.5613 GB, free: 54.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.8165, allocations: 1.49 MB / 0.5627 GB, free: 52.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8165, allocations: 0 / 0.5627 GB, free: 52.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.8171, allocations: 439.3 kB / 0.5631 GB, free: 52.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.8183, allocations: 300.9 kB / 0.5634 GB, free: 51.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.8227, allocations: 3.484 MB / 0.5668 GB, free: 48.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.8233, allocations: 1.272 MB / 0.5681 GB, free: 46.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008454/0.8242, allocations: 170.5 kB / 0.5682 GB, free: 46.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8244, allocations: 95.42 kB / 0.5683 GB, free: 46.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8244, allocations: 0 / 0.5683 GB, free: 46.67 MB / 378.7 MB Notification: Performance of Templates: time 0.0257/0.8501, allocations: 16.55 MB / 0.5845 GB, free: 30.14 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/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