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.001491/0.001491, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.452/1.452, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007504/0.0007504, allocations: 86.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.264e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.08234, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.3861, allocations: 116.1 MB / 486.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.3865, allocations: 82.95 kB / 486.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.4919, allocations: 42.72 MB / 0.5165 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.492, allocations: 0 / 0.5165 GB, free: 15.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.4921, allocations: 44.12 kB / 0.5166 GB, free: 15.69 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.002788/0.4949, allocations: 1.695 MB / 0.5182 GB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4949, allocations: 12.03 kB / 0.5182 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006856/0.4956, allocations: 265.8 kB / 0.5185 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.4976, allocations: 1.169 MB / 0.5196 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/0.4977, allocations: 131.3 kB / 0.5197 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.4979, allocations: 167.9 kB / 0.5199 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.5004, allocations: 1.5 MB / 0.5214 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.5005, allocations: 3.984 kB / 0.5214 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.5006, allocations: 71.94 kB / 0.5214 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.5007, allocations: 40 kB / 0.5215 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5024, allocations: 0.9727 MB / 0.5224 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.5105, allocations: 6.763 MB / 0.529 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.512, allocations: 0.888 MB / 0.5299 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.5124, allocations: 256 kB / 0.5301 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.5124, allocations: 16.53 kB / 0.5302 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5125, allocations: 39.12 kB / 0.5302 GB, free: 1.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 2.565e-06/0.5125, allocations: 0 / 0.5302 GB, free: 1.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.195/0.7075, allocations: 1.544 MB / 0.5317 GB, free: 104.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.7075, allocations: 83.52 kB / 0.5318 GB, free: 104.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.7093, allocations: 1.068 MB / 0.5328 GB, free: 104.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.7094, allocations: 43.72 kB / 0.5329 GB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.7099, allocations: 0.8896 MB / 0.5337 GB, free: 104.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.7101, allocations: 245.3 kB / 0.534 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.7101, allocations: 22.28 kB / 0.534 GB, free: 104.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.7102, allocations: 347.9 kB / 0.5343 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.7106, allocations: 241.4 kB / 0.5346 GB, free: 103.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.7112, allocations: 0.6477 MB / 0.5352 GB, free: 103.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.7117, allocations: 356.4 kB / 0.5355 GB, free: 103.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7117, allocations: 4.484 kB / 0.5355 GB, free: 103.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00165/0.7134, allocations: 1.055 MB / 0.5366 GB, free: 103.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008447/0.7142, allocations: 5.378 MB / 0.5418 GB, free: 97.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.7143, allocations: 13.34 kB / 0.5418 GB, free: 97.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.7145, allocations: 39.64 kB / 0.5419 GB, free: 97.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.7154, allocations: 279.6 kB / 0.5421 GB, free: 97.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007525/0.7162, allocations: 1.287 MB / 0.5434 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/0.7171, allocations: 76.53 kB / 0.5435 GB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.7171, allocations: 49.59 kB / 0.5435 GB, free: 96.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.7172, allocations: 4 kB / 0.5435 GB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/0.7185, allocations: 0.8931 MB / 0.5444 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.7186, allocations: 13.47 kB / 0.5444 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.985e-05/0.7186, allocations: 40.7 kB / 0.5444 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.7195, allocations: 258.6 kB / 0.5447 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006108/0.7201, allocations: 1.298 MB / 0.5459 GB, free: 95.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.7207, allocations: 50.52 kB / 0.546 GB, free: 95.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.7208, allocations: 49.88 kB / 0.546 GB, free: 95.08 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.0001953/0.721, allocations: 177.5 kB / 0.5462 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.7213, allocations: 138 kB / 0.5463 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.7225, allocations: 0.5969 MB / 0.5469 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7225, allocations: 6.875 kB / 0.5469 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7225, allocations: 0 / 0.5469 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.7225, allocations: 7.969 kB / 0.5469 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.7255, allocations: 2.012 MB / 0.5489 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7255, allocations: 7.531 kB / 0.5489 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.7261, allocations: 142.1 kB / 0.549 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-05/0.7262, allocations: 20.05 kB / 0.5491 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.7263, allocations: 29.2 kB / 0.5491 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005816/0.7269, allocations: 1.274 MB / 0.5503 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7269, allocations: 5.344 kB / 0.5503 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.7282, allocations: 1.06 MB / 0.5514 GB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.7286, allocations: 266.7 kB / 0.5516 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.7288, allocations: 15.86 kB / 0.5516 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.7294, allocations: 59.66 kB / 0.5517 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7295, allocations: 46.14 kB / 0.5517 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.7295, allocations: 18 kB / 0.5518 GB, free: 92.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.7306, allocations: 0.8031 MB / 0.5526 GB, free: 92.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7306, allocations: 0 / 0.5526 GB, free: 92.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001765/0.7324, allocations: 0.5465 MB / 0.5531 GB, free: 92.42 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.0005293/0.7329, allocations: 392.4 kB / 0.5535 GB, free: 92.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.735, allocations: 1.362 MB / 0.5548 GB, free: 91.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.735, allocations: 1.375 kB / 0.5548 GB, free: 91.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.7355, allocations: 372.5 kB / 0.5551 GB, free: 91.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.7367, allocations: 295.3 kB / 0.5554 GB, free: 91.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.7403, allocations: 2.13 MB / 0.5575 GB, free: 91.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.7411, allocations: 1.269 MB / 0.5587 GB, free: 90.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.7422, allocations: 237.6 kB / 0.559 GB, free: 90.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.7424, allocations: 66.86 kB / 0.559 GB, free: 90.21 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7424, allocations: 3.938 kB / 0.559 GB, free: 90.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02684/0.7692, allocations: 18.93 MB / 0.5775 GB, free: 88.99 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